import type { IssuePriority, IssueStatus } from "../constants.js"; export declare const COMPANY_SEARCH_SCOPES: readonly ["all", "issues", "comments", "documents", "artifacts", "agents", "projects"]; export type CompanySearchScope = (typeof COMPANY_SEARCH_SCOPES)[number]; export type CompanySearchResultType = "issue" | "artifact" | "agent" | "project"; export interface CompanySearchHighlight { start: number; end: number; } export interface CompanySearchSnippet { field: string; label: string; text: string; highlights: CompanySearchHighlight[]; } export interface CompanySearchIssueSummary { id: string; identifier: string | null; title: string; status: IssueStatus; priority: IssuePriority; assigneeAgentId: string | null; assigneeUserId: string | null; projectId: string | null; updatedAt: string; } export interface CompanySearchArtifactSummary { id: string; source: "document" | "attachment" | "work_product"; mediaKind: "image" | "video" | "text" | "document" | "file" | "empty"; issueId: string; issueIdentifier: string; issueTitle: string; projectId: string | null; projectName: string | null; updatedAt: string; } export interface CompanySearchResult { id: string; type: CompanySearchResultType; score: number; title: string; href: string; matchedFields: string[]; sourceLabel: string | null; snippet: string | null; snippets: CompanySearchSnippet[]; issue?: CompanySearchIssueSummary; artifact?: CompanySearchArtifactSummary; updatedAt: string | null; previewImageUrl: string | null; } export interface CompanySearchResponse { query: string; normalizedQuery: string; scope: CompanySearchScope; limit: number; offset: number; results: CompanySearchResult[]; countsByType: Record; hasMore: boolean; } //# sourceMappingURL=search.d.ts.map