import { FragmentNotFoundError, PageNotFoundError } from '../content/provider.js';
export { FragmentNotFoundError, PageNotFoundError };
export interface GradialFetchConfig {
    siteId?: string;
    bucket?: string;
    keyPrefix?: string;
    region?: string;
    accessKeyId?: string;
    secretAccessKey?: string;
    sessionToken?: string;
    endpoint?: string;
    releaseId?: string;
    edgeConfig?: string;
    deploymentId?: string;
}
export interface GradialRenderInput<TPage, TSite extends GradialSiteConfig = GradialSiteConfig> {
    route: string;
    domain: string;
    locale: string;
    siteConfig: TSite;
    page: TPage;
}
export interface GradialSiteConfig {
    domain?: string;
    defaultLocale?: string;
}
export declare function getPage<T = unknown>(route?: string, config?: GradialFetchConfig): Promise<T>;
export declare function getFragment<T = unknown>(name: string, config?: GradialFetchConfig): Promise<T>;
export declare function getRoutes(config?: GradialFetchConfig): Promise<string[]>;
export declare function getRenderInput<TPage, TSite extends GradialSiteConfig = GradialSiteConfig>(route?: string, config?: GradialFetchConfig): Promise<GradialRenderInput<TPage, TSite>>;
export declare function routeFromNextParams(params?: Promise<{
    slug?: string[];
}> | {
    slug?: string[];
}): Promise<string>;
export declare function generateGradialStaticParams(): Promise<Array<{
    slug?: string[];
}>>;
export declare class ReleaseAssetNotFoundError extends Error {
    constructor(releaseId: string, assetPath: string, cause?: unknown);
}
export declare function getReleaseAssetResponse(releaseId: string, assetPath: string, config?: GradialFetchConfig): Promise<Response>;
export declare function resolveReleaseId(config?: GradialFetchConfig): Promise<string>;
