import { Types } from 'ably';
import Space from './Space.js';
import type { SpaceOptions } from './types.js';
import type { Subset } from './utilities/types.js';
export interface ClientWithOptions extends Types.RealtimePromise {
    options: {
        agents?: Record<string, string | boolean>;
    };
}
declare class Spaces {
    private spaces;
    client: Types.RealtimePromise;
    connection: Types.ConnectionPromise;
    readonly version = "0.1.1";
    constructor(client: Types.RealtimePromise);
    private addAgent;
    get(name: string, options?: Subset<SpaceOptions>): Promise<Space>;
}
export default Spaces;
