import { type Space, SpaceMember } from '@dxos/client/echo';
import { type TableOptions } from './table';
export declare const selectSpace: (spaces: Space[]) => Promise<any>;
export declare const waitForSpace: (space: Space, timeout?: number, exceptionHandler?: (err: Error) => void) => Promise<void>;
export type MapSpacesOptions = {
    verbose?: boolean;
    truncateKeys?: boolean;
};
export declare const mapSpaces: (spaces: Space[], options?: MapSpacesOptions) => Promise<{
    id: import("@dxos/keys").SpaceId;
    state: string;
    name: any;
    members: number;
    objects: number;
    key: string;
    epoch: any;
    startup: number | undefined;
    automergeRoot: string | undefined;
    syncState: string;
}[]>;
export declare const printSpaces: (spaces: Space[], flags?: MapSpacesOptions & TableOptions) => Promise<void>;
export declare const mapMembers: (members: SpaceMember[], truncateKeys?: boolean) => {
    key: string;
    name: string | undefined;
    presence: string;
}[];
export declare const printMembers: (members: SpaceMember[], flags?: {}) => void;
//# sourceMappingURL=spaces.d.ts.map