import z from 'zod'; export declare const zPortalActions: z.ZodEnum<["Open", "Close", "Focus"]>; export type PortalActions = z.infer; /** ****************************************************************************** * Semantic Search ******************************************************************************* */ export declare const semanticSearchParams: z.ZodObject<{ botId: z.ZodString; sourceIds: z.ZodArray; syncIds: z.ZodOptional>; query: z.ZodString; topK: z.ZodOptional; distinctId: z.ZodString; origin: z.ZodNullable; originId: z.ZodOptional; originName: z.ZodOptional; originChannelId: z.ZodOptional; originChannelName: z.ZodOptional; }, "strip", z.ZodTypeAny, { channel: "Attribute" | "Launcher" | "Standalone" | "Discord" | "Slack" | "API"; originId?: string | undefined; originName?: string | undefined; originChannelId?: string | undefined; originChannelName?: string | undefined; }, { channel: "Attribute" | "Launcher" | "Standalone" | "Discord" | "Slack" | "API"; originId?: string | undefined; originName?: string | undefined; originChannelId?: string | undefined; originChannelName?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { botId: string; sourceIds: string[]; distinctId: string; origin: { channel: "Attribute" | "Launcher" | "Standalone" | "Discord" | "Slack" | "API"; originId?: string | undefined; originName?: string | undefined; originChannelId?: string | undefined; originChannelName?: string | undefined; } | null; query: string; syncIds?: string[] | undefined; topK?: number | undefined; }, { botId: string; sourceIds: string[]; distinctId: string; origin: { channel: "Attribute" | "Launcher" | "Standalone" | "Discord" | "Slack" | "API"; originId?: string | undefined; originName?: string | undefined; originChannelId?: string | undefined; originChannelName?: string | undefined; } | null; query: string; syncIds?: string[] | undefined; topK?: number | undefined; }>; export declare const semanticSearchResult: z.ZodObject<{ snippets: z.ZodArray; url: z.ZodString; domain: z.ZodOptional; lang: z.ZodOptional; hash: z.ZodString; index: z.ZodNumber; startTime: z.ZodNullable; startSeconds: z.ZodNumber; endTime: z.ZodOptional; endSeconds: z.ZodOptional; releasedAt: z.ZodOptional; views: z.ZodOptional; pageNumber: z.ZodOptional; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: "YouTube" | "RSS" | "WebPage" | "File"; _id: string; organizationId: string; syncId: string; title: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; url: string; sourceId: string; documentId: string; text: string; hash: string; index: number; startTime: string | null; startSeconds: number; domain?: string | undefined; lang?: string | undefined; endTime?: string | undefined; endSeconds?: number | undefined; releasedAt?: number | undefined; views?: number | undefined; pageNumber?: number | undefined; }, { type: "YouTube" | "RSS" | "WebPage" | "File"; _id: string; organizationId: string; syncId: string; title: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; url: string; sourceId: string; documentId: string; text: string; hash: string; index: number; startTime: string | null; startSeconds: number; domain?: string | undefined; lang?: string | undefined; endTime?: string | undefined; endSeconds?: number | undefined; releasedAt?: number | undefined; views?: number | undefined; pageNumber?: number | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { snippets: { type: "YouTube" | "RSS" | "WebPage" | "File"; _id: string; organizationId: string; syncId: string; title: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; url: string; sourceId: string; documentId: string; text: string; hash: string; index: number; startTime: string | null; startSeconds: number; domain?: string | undefined; lang?: string | undefined; endTime?: string | undefined; endSeconds?: number | undefined; releasedAt?: number | undefined; views?: number | undefined; pageNumber?: number | undefined; }[]; }, { snippets: { type: "YouTube" | "RSS" | "WebPage" | "File"; _id: string; organizationId: string; syncId: string; title: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; url: string; sourceId: string; documentId: string; text: string; hash: string; index: number; startTime: string | null; startSeconds: number; domain?: string | undefined; lang?: string | undefined; endTime?: string | undefined; endSeconds?: number | undefined; releasedAt?: number | undefined; views?: number | undefined; pageNumber?: number | undefined; }[]; }>; export type SemanticSearchParams = z.infer; export type SemanticSearchResult = z.infer; /** ****************************************************************************** * Create Generation ******************************************************************************* */ export declare const createGenerationParams: z.ZodObject<{ botId: z.ZodString; sourceIds: z.ZodArray; query: z.ZodString; distinctId: z.ZodString; origin: z.ZodOptional; originId: z.ZodOptional; originName: z.ZodOptional; originChannelId: z.ZodOptional; originChannelName: z.ZodOptional; }, "strip", z.ZodTypeAny, { channel: "Attribute" | "Launcher" | "Standalone" | "Discord" | "Slack" | "API"; originId?: string | undefined; originName?: string | undefined; originChannelId?: string | undefined; originChannelName?: string | undefined; }, { channel: "Attribute" | "Launcher" | "Standalone" | "Discord" | "Slack" | "API"; originId?: string | undefined; originName?: string | undefined; originChannelId?: string | undefined; originChannelName?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { botId: string; sourceIds: string[]; distinctId: string; query: string; origin?: { channel: "Attribute" | "Launcher" | "Standalone" | "Discord" | "Slack" | "API"; originId?: string | undefined; originName?: string | undefined; originChannelId?: string | undefined; originChannelName?: string | undefined; } | undefined; }, { botId: string; sourceIds: string[]; distinctId: string; query: string; origin?: { channel: "Attribute" | "Launcher" | "Standalone" | "Discord" | "Slack" | "API"; originId?: string | undefined; originName?: string | undefined; originChannelId?: string | undefined; originChannelName?: string | undefined; } | undefined; }>; export declare const createGenerationResponse: z.ZodObject<{ query: z.ZodOptional; snippetIds: z.ZodArray; input: z.ZodString; output: z.ZodString; helpful: z.ZodNullable; mark: z.ZodNullable; edits: z.ZodArray; value: z.ZodString; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { value: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; _id?: string | undefined; }, { value: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; _id?: string | undefined; }>, "many">; model: z.ZodNullable>; embedding: z.ZodNullable>; type: z.ZodNativeEnum; origin: z.ZodNullable; originId: z.ZodOptional; originName: z.ZodOptional; originChannelId: z.ZodOptional; originChannelName: z.ZodOptional; }, "strip", z.ZodTypeAny, { channel: "Attribute" | "Launcher" | "Standalone" | "Discord" | "Slack" | "API"; originId?: string | undefined; originName?: string | undefined; originChannelId?: string | undefined; originChannelName?: string | undefined; }, { channel: "Attribute" | "Launcher" | "Standalone" | "Discord" | "Slack" | "API"; originId?: string | undefined; originName?: string | undefined; originChannelId?: string | undefined; originChannelName?: string | undefined; }>>; cachedQueryId: z.ZodNullable; geolocation: z.ZodNullable; country: z.ZodOptional; region: z.ZodOptional; countryRegion: z.ZodOptional; latitude: z.ZodOptional; longitude: z.ZodOptional; }, "strip", z.ZodTypeAny, { city?: string | undefined; country?: string | undefined; region?: string | undefined; countryRegion?: string | undefined; latitude?: string | undefined; longitude?: string | undefined; }, { city?: string | undefined; country?: string | undefined; region?: string | undefined; countryRegion?: string | undefined; latitude?: string | undefined; longitude?: string | undefined; }>>; lang: z.ZodOptional; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: import("../enums/SearchTypes").EnumValues; _id: string; organizationId: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; botId: string; sourceIds: string[]; model: string | null; distinctId: string; snippetIds: string[]; input: string; output: string; helpful: boolean | null; mark: boolean | null; edits: { value: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; _id?: string | undefined; }[]; embedding: number[] | null; origin: { channel: "Attribute" | "Launcher" | "Standalone" | "Discord" | "Slack" | "API"; originId?: string | undefined; originName?: string | undefined; originChannelId?: string | undefined; originChannelName?: string | undefined; } | null; cachedQueryId: string | null; geolocation: { city?: string | undefined; country?: string | undefined; region?: string | undefined; countryRegion?: string | undefined; latitude?: string | undefined; longitude?: string | undefined; } | null; lang?: string | undefined; }, { type: import("../enums/SearchTypes").EnumValues; _id: string; organizationId: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; botId: string; sourceIds: string[]; model: string | null; distinctId: string; snippetIds: string[]; input: string; output: string; helpful: boolean | null; mark: boolean | null; edits: { value: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; _id?: string | undefined; }[]; embedding: number[] | null; origin: { channel: "Attribute" | "Launcher" | "Standalone" | "Discord" | "Slack" | "API"; originId?: string | undefined; originName?: string | undefined; originChannelId?: string | undefined; originChannelName?: string | undefined; } | null; cachedQueryId: string | null; geolocation: { city?: string | undefined; country?: string | undefined; region?: string | undefined; countryRegion?: string | undefined; latitude?: string | undefined; longitude?: string | undefined; } | null; lang?: string | undefined; }>>; snippets: z.ZodOptional; url: z.ZodString; domain: z.ZodOptional; lang: z.ZodOptional; hash: z.ZodString; index: z.ZodNumber; startTime: z.ZodNullable; startSeconds: z.ZodNumber; endTime: z.ZodOptional; endSeconds: z.ZodOptional; releasedAt: z.ZodOptional; views: z.ZodOptional; pageNumber: z.ZodOptional; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: "YouTube" | "RSS" | "WebPage" | "File"; _id: string; organizationId: string; syncId: string; title: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; url: string; sourceId: string; documentId: string; text: string; hash: string; index: number; startTime: string | null; startSeconds: number; domain?: string | undefined; lang?: string | undefined; endTime?: string | undefined; endSeconds?: number | undefined; releasedAt?: number | undefined; views?: number | undefined; pageNumber?: number | undefined; }, { type: "YouTube" | "RSS" | "WebPage" | "File"; _id: string; organizationId: string; syncId: string; title: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; url: string; sourceId: string; documentId: string; text: string; hash: string; index: number; startTime: string | null; startSeconds: number; domain?: string | undefined; lang?: string | undefined; endTime?: string | undefined; endSeconds?: number | undefined; releasedAt?: number | undefined; views?: number | undefined; pageNumber?: number | undefined; }>, "many">>; error: z.ZodOptional; }, "strip", z.ZodTypeAny, { query?: { type: import("../enums/SearchTypes").EnumValues; _id: string; organizationId: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; botId: string; sourceIds: string[]; model: string | null; distinctId: string; snippetIds: string[]; input: string; output: string; helpful: boolean | null; mark: boolean | null; edits: { value: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; _id?: string | undefined; }[]; embedding: number[] | null; origin: { channel: "Attribute" | "Launcher" | "Standalone" | "Discord" | "Slack" | "API"; originId?: string | undefined; originName?: string | undefined; originChannelId?: string | undefined; originChannelName?: string | undefined; } | null; cachedQueryId: string | null; geolocation: { city?: string | undefined; country?: string | undefined; region?: string | undefined; countryRegion?: string | undefined; latitude?: string | undefined; longitude?: string | undefined; } | null; lang?: string | undefined; } | undefined; snippets?: { type: "YouTube" | "RSS" | "WebPage" | "File"; _id: string; organizationId: string; syncId: string; title: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; url: string; sourceId: string; documentId: string; text: string; hash: string; index: number; startTime: string | null; startSeconds: number; domain?: string | undefined; lang?: string | undefined; endTime?: string | undefined; endSeconds?: number | undefined; releasedAt?: number | undefined; views?: number | undefined; pageNumber?: number | undefined; }[] | undefined; error?: string | undefined; }, { query?: { type: import("../enums/SearchTypes").EnumValues; _id: string; organizationId: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; botId: string; sourceIds: string[]; model: string | null; distinctId: string; snippetIds: string[]; input: string; output: string; helpful: boolean | null; mark: boolean | null; edits: { value: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; _id?: string | undefined; }[]; embedding: number[] | null; origin: { channel: "Attribute" | "Launcher" | "Standalone" | "Discord" | "Slack" | "API"; originId?: string | undefined; originName?: string | undefined; originChannelId?: string | undefined; originChannelName?: string | undefined; } | null; cachedQueryId: string | null; geolocation: { city?: string | undefined; country?: string | undefined; region?: string | undefined; countryRegion?: string | undefined; latitude?: string | undefined; longitude?: string | undefined; } | null; lang?: string | undefined; } | undefined; snippets?: { type: "YouTube" | "RSS" | "WebPage" | "File"; _id: string; organizationId: string; syncId: string; title: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; url: string; sourceId: string; documentId: string; text: string; hash: string; index: number; startTime: string | null; startSeconds: number; domain?: string | undefined; lang?: string | undefined; endTime?: string | undefined; endSeconds?: number | undefined; releasedAt?: number | undefined; views?: number | undefined; pageNumber?: number | undefined; }[] | undefined; error?: string | undefined; }>; export type CreateGenerationParams = z.infer; export type CreateGenerationResponse = z.infer;