import { Participant } from 'livekit-client';
import * as React from 'react';
/** @internal */
export interface FeatureFlags {
    autoSubscription?: boolean;
    nameFormatter?: (participant: Participant) => string;
    renderParticipantPlaceholder?: (participant: Participant | undefined, extraProps: Record<string, any>) => any;
    type?: '1on1' | 'instant' | 'group';
    onHangup?: () => void;
    contactMap?: {
        [key: string]: any;
    };
    onSendMessage?: (message: string) => void;
}
type FeatureContext<T extends boolean = false> = T extends true ? FeatureFlags : FeatureFlags | undefined;
/** @internal */
export declare const LKFeatureContext: React.Context<FeatureFlags | undefined>;
/**
 * @internal
 */
export declare function useFeatureContext<T extends boolean>(require?: T): FeatureContext<T>;
export {};
//# sourceMappingURL=feature-context.d.ts.map