package search

import "github.com/ashie/gosearch/internal/contracts"

// Re-export the JSON contract types so the rest of the code can stay in the
// `internal/search` namespace without creating an import cycle.
type OutputFormat = contracts.OutputFormat

const (
	FormatHTML = contracts.FormatHTML // accepted for compatibility (not yet implemented)
	FormatJSON = contracts.FormatJSON
	FormatCSV  = contracts.FormatCSV
	FormatRSS  = contracts.FormatRSS
)

type SearchRequest = contracts.SearchRequest
type SearchResponse = contracts.SearchResponse

type MainResult = contracts.MainResult

