import type { AnyObject, Loose } from '@daysnap/types'; import type { IntersectionBehavior, OptionBehavior, UnwrapBehaviorsType } from './options'; import type { ComponentPropertyOption, DataOption, EnsureNonVoid, InstanceMethods, PageInstanceProperties, PageLifetimes, PropertyOptionToData } from './types'; export type PageOtherOptions = { options?: WechatMiniprogram.Component.ComponentOptions; }; export type PageOptionsInstance, PublicProperty extends ComponentPropertyOption = UnwrapBehaviorsType, PublicData extends DataOption = UnwrapBehaviorsType & EnsureNonVoid & PropertyOptionToData> = Partial & PageInstanceProperties & UnwrapBehaviorsType & { data: Loose; } & InstanceMethods & Custom; export type PageOptions = { data?: Data; behaviors?: Behavior[]; } & Custom & Partial & PageOtherOptions & ThisType>; export declare function createPage(options?: PageOptions): void;