import type { IMenuItem, SchemaModel } from '@redocly/openapi-docs';
import type { ItemBadge, NavItem, ResolvedNavItem } from '@redocly/config';
export type IMenuItemExtended = {
    httpVerb?: string;
    isWebhook?: boolean;
    badges?: ItemBadge[];
} & IMenuItem;
export declare function convertOpenAPIDocs2Sidebar(data: {
    contentItems: IMenuItemExtended[];
    sidebarItems: ResolvedNavItem[];
    routeSlug: string;
    navItem?: NavItem;
}): void;
export declare function shouldAddRoute({ item }: {
    item: IMenuItem;
}): boolean;
export declare const removeMarkdownLinks: (text: string | Record<string, any>) => any;
export declare function normalizeFeedbackOptions(feedbackOptions: Record<string, any> | null | undefined): Record<string, any> | undefined;
export declare function stripFormatting(text: string | Record<string, any> | null): string;
/**
 * Returns the oneOf schema when `schema` (or, for an array, its items) is a
 * oneOf/anyOf/discriminator — the single `oneOf` property the model uses for all of them.
 */
export declare function getOneOfSchema(schema: SchemaModel | undefined): SchemaModel | undefined;
//# sourceMappingURL=utils.d.ts.map