import { type ISemanticSearchQuery } from "@gooddata/sdk-backend-spi"; import { type GenAIObjectType, type IAllowedRelationshipType, type ISemanticSearchRelationship } from "@gooddata/sdk-model"; /** * Dummy query builder for semantic search testing. * When allowedRelationshipTypes is set (e.g. viewer: dashboard only), filters results to matching source types * so Backstop and Storybook match real backend behavior. * @internal */ export declare class DummySemanticSearchQueryBuilder implements ISemanticSearchQuery { private readonly workspaceId; constructor(workspaceId: string); question: string; private allowedRelationshipTypes; withQuestion(question: string): this; withLimit(): this; withObjectTypes(): this; withDeepSearch(): this; withAllowedRelationshipTypes(allowedRelationshipTypes: IAllowedRelationshipType[]): this; withIncludeTags(): this; withExcludeTags(): this; query({ signal }?: { signal?: AbortSignal; }): Promise<{ results: { id: string; type: GenAIObjectType; workspaceId: string; title: string; description: string; tags: string[]; createdAt: string; modifiedAt: string; visualizationUrl: string | undefined; score: number; scoreTitle: number; scoreDescriptor: number; scoreExactMatch: number; }[]; relationships: ISemanticSearchRelationship[]; }>; } //# sourceMappingURL=DummySemanticSearch.d.ts.map