@scalar/api-reference
Version:
Generate beautiful API references from OpenAPI documents
34 lines • 1.39 kB
TypeScript
import { type ThemeId } from '@scalar/themes';
import type { ReferenceLayoutProps, ReferenceLayoutSlot, ReferenceSlotProps } from '../types';
type __VLS_Slots = {
[x in ReferenceLayoutSlot]: (props: ReferenceSlotProps) => any;
} & {
'document-selector': any;
};
declare const __VLS_component: import("vue").DefineComponent<ReferenceLayoutProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
changeTheme: (args_0: {
id: ThemeId;
label: string;
}) => any;
loadSwaggerFile: () => any;
linkSwaggerFile: () => any;
updateContent: (value: string) => any;
toggleDarkMode: () => any;
}, string, import("vue").PublicProps, Readonly<ReferenceLayoutProps> & Readonly<{
onChangeTheme?: ((args_0: {
id: ThemeId;
label: string;
}) => any) | undefined;
onLoadSwaggerFile?: (() => any) | undefined;
onLinkSwaggerFile?: (() => any) | undefined;
onUpdateContent?: ((value: string) => any) | undefined;
onToggleDarkMode?: (() => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};
//# sourceMappingURL=ApiReferenceContent.vue.d.ts.map