import type { Func } from "hry-types/src/Misc/_api"; import type { ComputedConstraint } from "../../RootComponent/Computed/ComputedConstraint"; import type { DataConstraint } from "../../RootComponent/Data/DataConstraint"; import type { LifetimesConstraint } from "../../RootComponent/Lifetimes/LifetimesConstraint"; import type { MethodsConstraint } from "../../RootComponent/Methods/MethodsConstraint"; import type { PageLifetimesOption } from "../../RootComponent/PageLifetimes/PageLifetimesOption"; import type { PropertiesConstraint } from "../../RootComponent/Properties/PropertiesConstraint"; import type { StoreConstraint } from "../../RootComponent/Store/StoreConstraint"; import type { DefineComponentOptionRuntime } from ".."; import type { ComputedCache } from "./initComputed/initComputedAndGetCache"; export type WatchOldValue = Record; export type ThrottleDebounce = Partial>>; export type OptionsInnerFields = { data: { __storeInited__?: boolean; attached?: boolean; __computedInited__?: boolean; __oberverHandler__?: Func[]; __computedCache__?: ComputedCache; __watchOldValue__?: WatchOldValue; __throttleDebounce__?: ThrottleDebounce; }; }; export type SameFuncOptions = Record<"pageLifetimes" | "lifetimes" | "watch" | "observers", Record>; export type FinalOptionsOfComponent = { data: DataConstraint & OptionsInnerFields["data"]; observers: Record; behaviors: string[]; methods: MethodsConstraint; externalClasses: string[]; pageLifetimes: PageLifetimesOption["pageLifetimes"] & {}; isPage: boolean; options: WechatMiniprogram.Component.ComponentOptions; properties: PropertiesConstraint; store?: StoreConstraint; computed: ComputedConstraint; watch: Record; lifetimes: LifetimesConstraint; }; export declare function normalizeOptions(defineComponentOption: DefineComponentOptionRuntime): FinalOptionsOfComponent;