import { z } from 'zod';
import { WorkspaceDetailedSchema, WorkspacePermissionsResponseSchema, type ListWorkspacesParams } from './vendor.atlassian.workspaces.types.js';
/**
 * List Bitbucket workspaces with optional filtering and pagination
 *
 * Retrieves a list of workspaces from Bitbucket with support for various filters
 * and pagination options.
 *
 * NOTE: The /2.0/user/permissions/workspaces endpoint does not support sorting,
 * despite the ListWorkspacesParams type including a sort parameter.
 *
 * @async
 * @memberof VendorAtlassianWorkspacesService
 * @param {ListWorkspacesParams} [params={}] - Optional parameters for customizing the request
 * @param {string} [params.q] - Filter by workspace name
 * @param {number} [params.page] - Page number
 * @param {number} [params.pagelen] - Number of items per page
 * @returns {Promise<z.infer<typeof WorkspacePermissionsResponseSchema>>} Promise containing the validated workspaces response
 * @throws {McpError} If validation fails, credentials are missing, or API request fails
 * @example
 * // List workspaces with pagination
 * const response = await list({
 *   pagelen: 10
 * });
 */
declare function list(params?: ListWorkspacesParams): Promise<z.infer<typeof WorkspacePermissionsResponseSchema>>;
/**
 * Get detailed information about a specific Bitbucket workspace
 *
 * Retrieves comprehensive details about a single workspace.
 *
 * @async
 * @memberof VendorAtlassianWorkspacesService
 * @param {string} workspace - The workspace slug
 * @returns {Promise<z.infer<typeof WorkspaceDetailedSchema>>} Promise containing the validated workspace information
 * @throws {McpError} If validation fails, credentials are missing, or API request fails
 * @example
 * // Get workspace details
 * const workspace = await get('my-workspace');
 */
declare function get(workspace: string): Promise<z.infer<typeof WorkspaceDetailedSchema>>;
declare const _default: {
    list: typeof list;
    get: typeof get;
};
export default _default;
