|
|
|
|
|
|
|
|
|
|
|
|
|
type AConstructorTypeOf<T, U extends any[] = any[]> = new (...args: U) => T; |
|
|
|
|
|
type SvelteActionReturnType = { |
|
update?: (args: any) => void, |
|
destroy?: () => void |
|
} | void |
|
|
|
|
|
type SvelteTransitionConfig = { |
|
delay?: number, |
|
duration?: number, |
|
easing?: (t: number) => number, |
|
css?: (t: number, u: number) => string, |
|
tick?: (t: number, u: number) => void |
|
} |
|
|
|
|
|
type SvelteTransitionReturnType = SvelteTransitionConfig | (() => SvelteTransitionConfig) |
|
|
|
|
|
type SvelteAnimationReturnType = { |
|
delay?: number, |
|
duration?: number, |
|
easing?: (t: number) => number, |
|
css?: (t: number, u: number) => string, |
|
tick?: (t: number, u: number) => void |
|
} |
|
|
|
|
|
type SvelteWithOptionalProps<Props, Keys extends keyof Props> = Omit<Props, Keys> & Partial<Pick<Props, Keys>>; |
|
|
|
type SvelteAllProps = { [index: string]: any } |
|
|
|
type SveltePropsAnyFallback<Props> = {[K in keyof Props]: Props[K] extends never ? never : Props[K] extends undefined ? any : Props[K]} |
|
|
|
type SvelteSlotsAnyFallback<Slots> = {[K in keyof Slots]: {[S in keyof Slots[K]]: Slots[K][S] extends undefined ? any : Slots[K][S]}} |
|
|
|
type SvelteRestProps = { [index: string]: any } |
|
|
|
type SvelteSlots = { [index: string]: any } |
|
|
|
type SvelteStore<T> = { subscribe: (run: (value: T) => any, invalidate?: any) => any } |
|
|
|
|
|
|
|
|
|
|
|
type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never; |
|
|
|
|
|
type KeysMatching<Obj, V> = {[K in keyof Obj]-?: Obj[K] extends V ? K : never}[keyof Obj] |
|
|
|
declare type __sveltets_2_CustomEvents<T> = {[K in KeysMatching<T, CustomEvent>]: T[K] extends CustomEvent ? T[K]['detail']: T[K]} |
|
|
|
declare var process: NodeJS.Process & { browser: boolean } |
|
declare function __sveltets_2_ensureRightProps<Props>(props: Props): {}; |
|
declare function __sveltets_2_instanceOf<T = any>(type: AConstructorTypeOf<T>): T; |
|
declare function __sveltets_2_allPropsType(): SvelteAllProps |
|
declare function __sveltets_2_restPropsType(): SvelteRestProps |
|
declare function __sveltets_2_slotsType<Slots, Key extends keyof Slots>(slots: Slots): Record<Key, boolean>; |
|
|
|
|
|
|
|
|
|
|
|
declare function __sveltets_2_partial<Props = {}, Events = {}, Slots = {}, Exports = {}, Bindings = string>( |
|
render: {props: Props, events: Events, slots: Slots, exports?: Exports, bindings?: Bindings } |
|
): {props: Expand<SveltePropsAnyFallback<Props>>, events: Events, slots: Expand<SvelteSlotsAnyFallback<Slots>>, exports?: Exports, bindings?: Bindings } |
|
declare function __sveltets_2_partial<Props = {}, Events = {}, Slots = {}, Exports = {}, Bindings = string, OptionalProps extends keyof Props = any>( |
|
optionalProps: OptionalProps[], |
|
render: {props: Props, events: Events, slots: Slots, exports?: Exports, bindings?: Bindings } |
|
): {props: Expand<SvelteWithOptionalProps<SveltePropsAnyFallback<Props>, OptionalProps>>, events: Events, slots: Expand<SvelteSlotsAnyFallback<Slots>>, exports?: Exports, bindings?: Bindings } |
|
|
|
declare function __sveltets_2_partial_with_any<Props = {}, Events = {}, Slots = {}, Exports = {}, Bindings = string>( |
|
render: {props: Props, events: Events, slots: Slots, exports?: Exports, bindings?: Bindings } |
|
): {props: Expand<SveltePropsAnyFallback<Props> & SvelteAllProps>, events: Events, slots: Expand<SvelteSlotsAnyFallback<Slots>>, exports?: Exports, bindings?: Bindings } |
|
declare function __sveltets_2_partial_with_any<Props = {}, Events = {}, Slots = {}, Exports = {}, Bindings = string, OptionalProps extends keyof Props = any>( |
|
optionalProps: OptionalProps[], |
|
render: {props: Props, events: Events, slots: Slots, exports?: Exports, bindings?: Bindings } |
|
): {props: Expand<SvelteWithOptionalProps<SveltePropsAnyFallback<Props>, OptionalProps> & SvelteAllProps>, events: Events, slots: Expand<SvelteSlotsAnyFallback<Slots>>, exports?: Exports, bindings?: Bindings } |
|
|
|
|
|
declare function __sveltets_2_with_any<Props = {}, Events = {}, Slots = {}, Exports = {}, Bindings = string>( |
|
render: {props: Props, events: Events, slots: Slots, exports?: Exports, bindings?: Bindings } |
|
): {props: Expand<Props & SvelteAllProps>, events: Events, slots: Slots, exports?: Exports, bindings?: Bindings } |
|
|
|
declare function __sveltets_2_with_any_event<Props = {}, Events = {}, Slots = {}, Exports = {}, Bindings = string>( |
|
render: {props: Props, events: Events, slots: Slots, exports?: Exports, bindings?: Bindings } |
|
): {props: Props, events: Events & {[evt: string]: CustomEvent<any>;}, slots: Slots, exports?: Exports, bindings?: Bindings } |
|
|
|
declare function __sveltets_2_store_get<T = any>(store: SvelteStore<T>): T |
|
declare function __sveltets_2_store_get<Store extends SvelteStore<any> | undefined | null>(store: Store): Store extends SvelteStore<infer T> ? T : Store; |
|
declare function __sveltets_2_any(dummy: any): any; |
|
declare function __sveltets_2_invalidate<T>(getValue: () => T): T |
|
|
|
declare function __sveltets_2_mapWindowEvent<K extends keyof HTMLBodyElementEventMap>( |
|
event: K |
|
): HTMLBodyElementEventMap[K]; |
|
declare function __sveltets_2_mapBodyEvent<K extends keyof WindowEventMap>( |
|
event: K |
|
): WindowEventMap[K]; |
|
declare function __sveltets_2_mapElementEvent<K extends keyof HTMLElementEventMap>( |
|
event: K |
|
): HTMLElementEventMap[K]; |
|
|
|
declare function __sveltets_2_bubbleEventDef<Events, K extends keyof Events>( |
|
events: Events, eventKey: K |
|
): Events[K]; |
|
declare function __sveltets_2_bubbleEventDef( |
|
events: any, eventKey: string |
|
): any; |
|
|
|
declare const __sveltets_2_customEvent: CustomEvent<any>; |
|
declare function __sveltets_2_toEventTypings<Typings>(): {[Key in keyof Typings]: CustomEvent<Typings[Key]>}; |
|
|
|
declare function __sveltets_2_unionType<T1, T2>(t1: T1, t2: T2): T1 | T2; |
|
declare function __sveltets_2_unionType<T1, T2, T3>(t1: T1, t2: T2, t3: T3): T1 | T2 | T3; |
|
declare function __sveltets_2_unionType<T1, T2, T3, T4>(t1: T1, t2: T2, t3: T3, t4: T4): T1 | T2 | T3 | T4; |
|
declare function __sveltets_2_unionType(...types: any[]): any; |
|
|
|
declare function __sveltets_2_createSvelte2TsxComponent<Props extends {}, Events extends {}, Slots extends {}>( |
|
render: {props: Props, events: Events, slots: Slots } |
|
): typeof import("svelte").SvelteComponent<Props, Events, Slots>; |
|
|
|
declare function __sveltets_2_unwrapArr<T>(arr: ArrayLike<T>): T |
|
declare function __sveltets_2_unwrapPromiseLike<T>(promise: PromiseLike<T> | T): T |
|
|
|
|
|
declare function __sveltets_2_createCreateSlot<Slots = Record<string, Record<string, any>>>(): <SlotName extends keyof Slots>(slotName: SlotName, attrs: Slots[SlotName]) => Record<string, any>; |
|
declare function __sveltets_2_createComponentAny(props: Record<string, any>): import("svelte").SvelteComponent<any, any, any>; |
|
|
|
declare function __sveltets_2_any(...dummy: any[]): any; |
|
declare function __sveltets_2_empty(...dummy: any[]): {}; |
|
declare function __sveltets_2_union<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>(t1:T1,t2?:T2,t3?:T3,t4?:T4,t5?:T5,t6?:T6,t7?:T7,t8?:T8,t9?:T9,t10?:T10): T1 & T2 & T3 & T4 & T5 & T6 & T7 & T8 & T9 & T10; |
|
declare function __sveltets_2_nonNullable<T>(type: T): NonNullable<T>; |
|
|
|
declare function __sveltets_2_cssProp(prop: Record<string, any>): {}; |
|
|
|
|
|
declare function __sveltets_2_ensureSnippet(val: ReturnType<import('svelte').Snippet> | undefined | null): any; |
|
|
|
|
|
type __sveltets_2_SvelteAnimationReturnType = { |
|
delay?: number, |
|
duration?: number, |
|
easing?: (t: number) => number, |
|
css?: (t: number, u: number) => string, |
|
tick?: (t: number, u: number) => void |
|
} |
|
declare var __sveltets_2_AnimationMove: { from: DOMRect, to: DOMRect } |
|
declare function __sveltets_2_ensureAnimation(animationCall: __sveltets_2_SvelteAnimationReturnType): {}; |
|
|
|
|
|
type __sveltets_2_SvelteActionReturnType = { |
|
update?: (args: any) => void, |
|
destroy?: () => void, |
|
$$_attributes?: Record<string, any>, |
|
} | void |
|
declare function __sveltets_2_ensureAction<T extends __sveltets_2_SvelteActionReturnType>(actionCall: T): T extends {$$_attributes?: any} ? T['$$_attributes'] : {}; |
|
|
|
|
|
type __sveltets_2_SvelteTransitionConfig = { |
|
delay?: number, |
|
duration?: number, |
|
easing?: (t: number) => number, |
|
css?: (t: number, u: number) => string, |
|
tick?: (t: number, u: number) => void |
|
} |
|
|
|
type __sveltets_2_SvelteTransitionReturnType = __sveltets_2_SvelteTransitionConfig | (() => __sveltets_2_SvelteTransitionConfig) |
|
declare function __sveltets_2_ensureTransition(transitionCall: __sveltets_2_SvelteTransitionReturnType): {}; |
|
|
|
|
|
declare function __sveltets_2_ensureType<T>(type: AConstructorTypeOf<T>, el: T | undefined | null): {}; |
|
declare function __sveltets_2_ensureType<T1, T2>(type1: AConstructorTypeOf<T1>, type2: AConstructorTypeOf<T2>, el: T1 | T2 | undefined | null): {}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
declare type ATypedSvelteComponent = { |
|
|
|
|
|
|
|
|
|
$$prop_def: any; |
|
|
|
|
|
|
|
|
|
$$events_def: any; |
|
|
|
|
|
|
|
|
|
$$slot_def: any; |
|
|
|
$on(event: string, handler: ((e: any) => any) | null | undefined): () => void; |
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
declare type ConstructorOfATypedSvelteComponent = new (args: {target: any, props?: any}) => ATypedSvelteComponent |
|
declare function __sveltets_2_ensureComponent< |
|
|
|
T extends ConstructorOfATypedSvelteComponent | (0 extends (1 & import('svelte').Component) ? never : import('svelte').Component<any, any, any>) | null | undefined |
|
|
|
>(type: T): NonNullable<T extends ConstructorOfATypedSvelteComponent ? T : 0 extends (1 & import('svelte').Component) ? T : T extends import('svelte').Component<infer Props> ? typeof import('svelte').SvelteComponent<Props, Props['$$events'], Props['$$slots']> : T>; |
|
declare function __sveltets_2_ensureArray<T extends ArrayLike<unknown> | Iterable<unknown>>(array: T): T extends ArrayLike<infer U> ? U[] : T extends Iterable<infer U> ? Iterable<U> : any[]; |
|
|
|
type __sveltets_2_PropsWithChildren<Props, Slots> = Props & |
|
(Slots extends { default: any } |
|
|
|
|
|
|
|
? Props extends Record<string, never> |
|
? any |
|
: { children?: any } |
|
: {}); |
|
declare function __sveltets_2_runes_constructor<Props extends {}>(render: {props: Props }): import("svelte").ComponentConstructorOptions<Props>; |
|
|
|
declare function __sveltets_$$bindings<Bindings extends string[]>(...bindings: Bindings): Bindings[number]; |
|
|
|
interface __sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> { |
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & { $$bindings?: Bindings } & Exports; |
|
(internal: unknown, props: Props extends Record<string, never> ? {$$events?: Events, $$slots?: Slots} : Props & {$$events?: Events, $$slots?: Slots}): Exports & { $set?: any, $on?: any }; |
|
z_$$bindings?: Bindings; |
|
} |
|
|
|
declare function __sveltets_2_isomorphic_component< |
|
Props extends Record<string, any>, Events extends Record<string, any>, Slots extends Record<string, any>, Exports extends Record<string, any>, Bindings extends string |
|
>(klass: {props: Props, events: Events, slots: Slots, exports?: Exports, bindings?: Bindings }): __sveltets_2_IsomorphicComponent<Props, Events, Slots, Exports, Bindings>; |
|
|
|
declare function __sveltets_2_isomorphic_component_slots< |
|
Props extends Record<string, any>, Events extends Record<string, any>, Slots extends Record<string, any>, Exports extends Record<string, any>, Bindings extends string |
|
>(klass: {props: Props, events: Events, slots: Slots, exports?: Exports, bindings?: Bindings }): __sveltets_2_IsomorphicComponent<__sveltets_2_PropsWithChildren<Props, Slots>, Events, Slots, Exports, Bindings>; |
|
|