import { Collection, Filter } from "mongodb"; import { Prompt } from "./prompts.types"; import { KnownProductKey } from "../../talkpilot"; export declare const getPromptsCollection: () => Collection; /** * Get a prompt by its unique name. * @param name prompt name * @returns the prompt or null if not found */ export declare const getPromptByName: (name: string) => Promise; /** * Find prompts by filter. * @param filter filter to apply * @returns array of matching prompts */ export declare const findPrompts: (filter?: Filter) => Promise; /** * Get all prompts. * @returns array of all prompts */ export declare const getAllPrompts: () => Promise; /** * Get all prompts for a given product. * @param productName product key * @returns array of matching prompts */ export declare const getPromptsByProduct: (productName: KnownProductKey) => Promise; //# sourceMappingURL=prompts.getters.d.ts.map