import { SyncMachineContext } from '.';

interface IConnectConf {
    username?: string;
    roomKey: string;
    roomId: string;
    isOwner: boolean;
    ownerEdSecret?: string;
    contractAddress?: string;
    ownerAddress?: string;
    isEns?: boolean;
    wsUrl: string;
    roomInfo?: {
        documentTitle: string;
        portalAddress: string;
        commentKey: string;
    };
}
export declare const useSyncMachine: (config: Partial<SyncMachineContext>) => {
    connect: (connectConfig: IConnectConf) => void;
    disconnect: () => void;
    isConnected: any;
    isReady: boolean;
    error: any;
    terminateSession: () => void;
    awareness: any;
    hasCollabContentInitialised: boolean;
};
export {};
