36 lines
1.2 KiB
TypeScript
36 lines
1.2 KiB
TypeScript
import { type PropType, type VNode } from 'vue';
|
|
import type { NavItem, QueryBuilderParams, QueryBuilder } from '@nuxt/content';
|
|
declare const ContentNavigation: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
/**
|
|
* A query to be passed to `fetchContentNavigation()`.
|
|
*/
|
|
query: {
|
|
type: PropType<QueryBuilderParams | QueryBuilder>;
|
|
required: false;
|
|
default: undefined;
|
|
};
|
|
}>, {
|
|
navigation: import("vue").Ref<NavItem[] | null, NavItem[] | null>;
|
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
/**
|
|
* A query to be passed to `fetchContentNavigation()`.
|
|
*/
|
|
query: {
|
|
type: PropType<QueryBuilderParams | QueryBuilder>;
|
|
required: false;
|
|
default: undefined;
|
|
};
|
|
}>> & Readonly<{}>, {
|
|
query: any;
|
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
declare const _default: typeof ContentNavigation & {
|
|
new (): {
|
|
$slots: {
|
|
default: ({ navigation }: {
|
|
navigation: NavItem[];
|
|
}) => VNode[] | undefined;
|
|
};
|
|
};
|
|
};
|
|
export default _default;
|