/**
 * Represents URL search parameters.
 */
export declare class Query {
    #private;
    constructor(raw: string, params?: URLSearchParams);
    static from(init: QueryInit): Query | undefined;
    get raw(): string;
    get params(): URLSearchParams;
}
export type QueryInit = ConstructorParameters<typeof URLSearchParams>[0];
/**
 * Format the specified query for use in a URL.
 *
 * Strings are returned as is.
 */
export declare function formatQuery(value: QueryInit): string;
//# sourceMappingURL=query.d.ts.map