@posthog/wizard
Version:
The PostHog wizard helps you to configure your project
12 lines (11 loc) • 397 B
TypeScript
import type { ZodSchema } from 'zod';
import type { AIModel, CloudRegion } from './types';
export interface QueryOptions<S> {
message: string;
model?: AIModel;
region: CloudRegion;
schema: ZodSchema<S>;
accessToken: string;
projectId: number;
}
export declare const query: <S>({ message, model, region, schema, accessToken, projectId: _, }: QueryOptions<S>) => Promise<S>;