import { LonLatZoom } from '@basemaps/geo';
import { LambdaHttpRequest, LambdaHttpResponse } from '@linzjs/lambda';
export interface PreviewIndexGet {
    Params: {
        location: string;
    };
    Query: {
        config?: string;
        style?: string;
        tileMatrix?: string;
    };
}
/**
 * Load the `index.html` from the static bucket and replace `<meta />` tags with the preview open graph tags
 *
 * @param loc location of the request if valid
 * @param tags tags to replace if they exist
 *
 * @returns response containing the output HTML
 */
export declare function loadAndServeIndexHtml(req: LambdaHttpRequest, loc?: LonLatZoom | null, tags?: Map<string, string>): Promise<LambdaHttpResponse>;
export declare function previewIndexGet(req: LambdaHttpRequest<PreviewIndexGet>): Promise<LambdaHttpResponse>;
