import type { AsyncApiDefinition, AsyncApiDefinitionReferenced } from '@redocly/asyncapi-docs';
import type { MarkdocChunk } from '../openapi-docs/load-definition.js';
import type { RedoclyConfig } from '@redocly/config';
import type { LifecycleContext } from '../../types';
export type BundledDefinition = {
    document: AsyncApiDefinition;
    documentWithReferences: AsyncApiDefinitionReferenced;
    config: Partial<RedoclyConfig & NonNullable<RedoclyConfig['apis']>[string]>;
    customOutputRelativeFile: string | undefined;
    markdocChunks: MarkdocChunk[];
    realRelativePath: string;
    relativePath: string;
    isVirtual: boolean;
    hash: string;
};
export declare function asyncapiDocLoader(relativePath: string, { fs, logger, cache, getConfig, isPathIgnored }: LifecycleContext): Promise<Omit<BundledDefinition, 'hash'>[]>;
export declare function asyncapiDocsLoader(_: string, context: LifecycleContext): Promise<BundledDefinition[]>;
//# sourceMappingURL=asyncapi-doc-loader.d.ts.map