import type { AssetUrlParams, Content, ImageUrlParams, Site } from '@enonic-types/lib-portal';
import type { Log } from '../types';
import { App } from '../implementation/App';
import { ContentConnection } from '../implementation/ContentConnection';
import { Request } from '../implementation/Request';
import { Server } from '../implementation/Server';
export declare interface QueryParams {
    background?: string;
    filter?: string;
    quality?: string;
    [key: string]: string | undefined;
}
export declare class LibPortal {
    readonly app: App;
    readonly log: Log;
    readonly server: Server;
    request: Request;
    constructor({ app, server, }: {
        app: App;
        server: Server;
    });
    private _getParentContent;
    private _recursiveReturnParentIfSite;
    assetUrl(params: AssetUrlParams): string;
    connect(): ContentConnection;
    getContent<Hit extends Content<unknown> = Content>(): Hit | null;
    getSite<Config = Record<string, unknown>>(): Site<Config> | null;
    getSiteConfig<Config = Record<string, unknown>>(): Config | null;
    imageUrl(params: ImageUrlParams): string;
}
