@builder.io/sdk-vue
Version:
Builder.io SDK for Vue
8 lines (7 loc) • 477 B
TypeScript
import type { BuilderContent } from '../../types/builder-content';
import type { Nullable } from '../../types/typescript';
import type { ContentProps } from './content.types';
export declare const getRootStateInitialValue: ({ content, data, locale }: Pick<ContentProps, 'content' | 'data' | 'locale'>) => {
locale?: string | undefined;
};
export declare const getContentInitialValue: ({ content, data }: Pick<ContentProps, 'content' | 'data'>) => Nullable<BuilderContent>;