import { type IdCardWsServerMessage, type PatientRegisterPayload } from '../../composables/hostAgent.js';
interface Props {
    /** Subscribe withPhoto=true => server will push payload that includes photo when available */
    withPhoto?: boolean;
    /** Optional reader name; null/undefined means "any/default" */
    reader?: string | null;
    /** Auto-connect on mount (default true) */
    autoConnect?: boolean;
    /** Auto-subscribe after connect (default true) */
    autoSubscribe?: boolean;
    /** If true, try to reconnect when socket closes unexpectedly */
    autoReconnect?: boolean;
    /** Reconnect delay in ms */
    reconnectDelayMs?: number;
}
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
    message: (msg: IdCardWsServerMessage) => any;
    error: (err: unknown) => any;
    connected: () => any;
    disconnected: (info?: {
        code?: number;
        reason?: string;
    } | undefined) => any;
    subscribed: (info?: {
        reader?: string | null;
        withPhoto?: boolean;
    } | undefined) => any;
    unsubscribed: () => any;
    inserted: (payload: PatientRegisterPayload) => any;
    removed: () => any;
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
    onMessage?: ((msg: IdCardWsServerMessage) => any) | undefined;
    onError?: ((err: unknown) => any) | undefined;
    onConnected?: (() => any) | undefined;
    onDisconnected?: ((info?: {
        code?: number;
        reason?: string;
    } | undefined) => any) | undefined;
    onSubscribed?: ((info?: {
        reader?: string | null;
        withPhoto?: boolean;
    } | undefined) => any) | undefined;
    onUnsubscribed?: (() => any) | undefined;
    onInserted?: ((payload: PatientRegisterPayload) => any) | undefined;
    onRemoved?: (() => any) | undefined;
}>, {
    reader: string | null;
    withPhoto: boolean;
    autoConnect: boolean;
    autoSubscribe: boolean;
    autoReconnect: boolean;
    reconnectDelayMs: number;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: typeof __VLS_export;
export default _default;
