UNPKG

@posthog/wizard

Version:

The PostHog wizard helps you to configure your project

11 lines (10 loc) 358 B
import type { ZodSchema } from 'zod'; import type { AIModel, CloudRegion } from './types'; export interface QueryOptions<S> { message: string; model?: AIModel; region: CloudRegion; schema: ZodSchema<S>; wizardHash: string; } export declare const query: <S>({ message, model, region, schema, wizardHash, }: QueryOptions<S>) => Promise<S>;