/**
 * Utilities for formatting and handling query parameters for the Bitbucket API.
 * These functions help convert user-friendly query strings into the format expected by Bitbucket's REST API.
 */
/**
 * Format a simple text query into Bitbucket's query syntax
 * Bitbucket API expects query parameters in a specific format for the 'q' parameter
 *
 * @param query - The search query string
 * @param field - Optional field to search in, defaults to 'name'
 * @returns Formatted query string for Bitbucket API
 *
 * @example
 * // Simple text search (returns: name ~ "vue3")
 * formatBitbucketQuery("vue3")
 *
 * @example
 * // Already formatted query (returns unchanged: name = "repository")
 * formatBitbucketQuery("name = \"repository\"")
 *
 * @example
 * // With specific field (returns: description ~ "API")
 * formatBitbucketQuery("API", "description")
 */
export declare function formatBitbucketQuery(query: string, field?: string): string;
