type AuthUser = { id: string; email: string; name: string; image?: string | null; }; type Workspace = { id: string; name?: string | null; }; export type PosthogLogsOptions = { captureConsoleLogs?: boolean; /** Shown as `service.name` in the PostHog Logs UI. Defaults to `unknown_service`. */ serviceName?: string; /** Shown as `deployment.environment` in the PostHog Logs UI. */ environment?: string; }; export declare function initPosthog(publicKey: string, host: string, defaults: string, logs?: PosthogLogsOptions): Promise; export declare function identifyPosthogUser(user: AuthUser): void; export declare function resetPosthogIdentity(): void; export declare function setPosthogWorkspace(workspace: Workspace): void; export declare function useFeatureFlags(): { isFeatureEnabled: (flag: string) => boolean; }; export {};