import { Space } from '../../models/data/Space'; import { RettiwtConfig } from '../../models/RettiwtConfig'; import { ISpaceDetailsOptions } from '../../types/args/FetchArgs'; import { FetcherService } from './FetcherService'; /** * Handles interacting with resources related to spaces. * * @public */ export declare class SpaceService extends FetcherService { /** * @param config - The config object for configuring the Rettiwt instance. * * @internal */ constructor(config: RettiwtConfig); /** * Get the details of a space. * * @param id - The ID of the target space. * @param options - Additional options for the fetch. * * @returns The details of the space with the given ID. * * @example * * ```ts * import { Rettiwt } from 'rettiwt-api'; * * const rettiwt = new Rettiwt({ apiKey: API_KEY }); * * rettiwt.space.details('1YqJDNEzvoVKV', { withListeners: true }) * .then(res => { * console.log(res); * }) * .catch(err => { * console.log(err); * }); * ``` */ details(id: string, options?: ISpaceDetailsOptions): Promise; }