import type { ActiveHeadEntry, Head } from '@unhead/vue';
import type { NuxtSSRContext } from 'nuxt/app';
import type { OgImageOptions, OgImageOptionsInternal, OgImagePrebuilt, OgImageRuntimeConfig } from '../types.js';
type OgImagePayload = [string, OgImageOptionsInternal, Required<Head>['meta']];
declare module 'nuxt/app' {
    interface NuxtSSRContext {
        _ogImagePayloads?: OgImagePayload[];
        _ogImageInstance?: ActiveHeadEntry<Head>;
        _ogImageDevtoolsInstance?: ActiveHeadEntry<Head>;
    }
}
export declare function setHeadOgImagePrebuilt(input: OgImagePrebuilt): void;
export declare function createOgImageMeta(src: string, input: OgImageOptions | OgImagePrebuilt, ssrContext: NuxtSSRContext): void;
export declare function resolveComponentName(component: OgImageOptionsInternal['component']): OgImageOptionsInternal['component'];
export interface GetOgImagePathResult {
    path: string;
    hash?: string;
}
/**
 * @deprecated Use the return value of `defineOgImage()` instead, which now returns an array of generated paths.
 */
export declare function getOgImagePath(_pagePath: string, _options?: Partial<OgImageOptionsInternal>): GetOgImagePathResult;
export declare function useOgImageRuntimeConfig(): OgImageRuntimeConfig;
export {};
