import { type Node } from '@markdoc/markdoc';
import type { AsyncApiRealmUI } from '@redocly/realm-asyncapi-sdk';
import type { OpenAPIDefinition } from '@redocly/openapi-docs';
import type { EventType } from '@redocly/openapi-docs/src/events/types';
import type { RedocConfig, PageProps } from '@redocly/config';
type EventFunctionInput = string | ((event: EventType) => void) | undefined;
type OpenAPIDocsStore = {
    definition: OpenAPIDefinition;
    options: RedocConfig;
    basePath?: string;
};
export declare function joinWithSeparator(base?: string, path?: string, sep?: string): string;
export declare function parsePartials(partials?: Record<string, any>): Record<string, Node[] | Node> | undefined;
export declare function usePatchedStore(storeJs: OpenAPIDocsStore, { markdown, baseSlug }: PageProps): OpenAPIDocsStore;
export declare function safeParseFunction(fnInput: EventFunctionInput): ((event: EventType) => void) | null;
export declare function mergeEvents(userFunction: ((event: EventType) => void) | null, telemetryEvent?: AsyncApiRealmUI.GetEventData<'openapi_docs'>[number]['eventType']): (event: EventType) => void;
export {};
//# sourceMappingURL=helpers.d.ts.map