import type { BaseProgram, IExtension } from "../../../lib/program";
/** Entry recorded for each emitted companion so the build manifest can advertise it. */
export type OpenapiCompanionEntry = {
    /** Lang-relative path of the leading page (without extension), e.g. `ru/api/index`. */
    leadingPage: string;
    /**
     * Lang-relative path of the companion file. The file name is derived from the source spec
     * (`petstore.yaml` -> `petstore.openapi.json`), so it is not necessarily `index.openapi.json`,
     * e.g. `ru/api/petstore.openapi.json`. The viewer must use this exact path.
     */
    companionPath: string;
};
export declare class Extension implements IExtension {
    apply(program: BaseProgram): void;
}
