import React from 'react'; import { SurveyAppearance } from '@posthog/core'; import { PostHog } from '../posthog-rn'; export type PostHogSurveyProviderProps = { /** * The default appearance for surveys when not specified in PostHog. */ defaultSurveyAppearance?: SurveyAppearance; /** * If true, PosHog appearance will be ignored and defaultSurveyAppearance is always used. */ overrideAppearanceWithDefault?: boolean; /** * The keyboard avoiding behavior for the survey modal (KeyboardAvoidingView), applied only to Android devices. * - 'padding': Adds padding to avoid keyboard (recommended) * - 'height': Resizes the view height (default, for legacy - may cause flickering on some Android devices) * @default 'height' */ androidKeyboardBehavior?: 'padding' | 'height'; client?: PostHog; children: React.ReactNode; }; export declare function PostHogSurveyProvider(props: PostHogSurveyProviderProps): JSX.Element;