import { ListSpacesOptions } from './atlassian.spaces.types.js';
import { ControllerResponse } from '../types/common.types.js';
/**
 * Controller for managing Confluence spaces.
 * Provides functionality for listing spaces and retrieving space details.
 */
/**
 * List Confluence spaces with optional filtering
 * @param options - Options for filtering spaces
 * @param options.type - Filter by space type (global, personal, etc.)
 * @param options.status - Filter by space status (current, archived)
 * @param options.limit - Maximum number of spaces to return
 * @param options.cursor - Pagination cursor for subsequent requests
 * @returns Promise with formatted spaces list content and pagination info
 * @throws Error if space listing fails
 */
declare function list(options?: ListSpacesOptions): Promise<ControllerResponse>;
/**
 * Get details of a specific Confluence space
 * @param args - Object containing the key of the space to retrieve
 * @param args.spaceKey - The key of the space
 * @returns Promise with formatted space details content
 * @throws Error if space retrieval fails
 */
declare function get(args: {
    spaceKey: string;
}): Promise<ControllerResponse>;
declare const _default: {
    list: typeof list;
    get: typeof get;
};
export default _default;
