import React from 'react'; import { View, ViewProps } from 'react-native'; import { IF } from './Components/IF'; import { Case, Switch } from './Components/Switch'; import { UpdateJob } from './WishlistData'; export declare type WishListInstance = { scrollToItem: (index: number, animated?: boolean) => void; scrollToTop: () => void; update: (updateJob: UpdateJob) => Promise; }; export declare type BaseItem = { type: string; key: string; }; declare type TemplateProps = { type: string; children: React.ReactElement; }; declare function Template({ children, type }: TemplateProps): React.ReactElement> | null; declare namespace Template { var displayName: string; } export declare const Wishlist: { Component: React.ForwardRefExoticComponent void) | undefined; onEndReached?: (() => void) | undefined; initialIndex?: number | undefined; } & { ref?: React.Ref> | undefined; }, keyof ViewProps | "initialIndex" | "onStartReached" | "onEndReached" | "initialData"> & React.RefAttributes>; Template: typeof Template; Pressable: React.ForwardRefExoticComponent void; } & React.RefAttributes>; View: import("./createTemplateComponent").TemplateComponent; Image: import("./createTemplateComponent").TemplateComponent; Text: import("./createTemplateComponent").TemplateComponent; IF: typeof IF; Switch: typeof Switch; Case: typeof Case; /** * TODO(Szymon) It's just a prototype we have to think about matching new and old children * TODO(Szymon) implement setChildren */ ForEach: import("./createTemplateComponent").TemplateComponent & React.RefAttributes>>; }; export {}; //# sourceMappingURL=Wishlist.d.ts.map