///
declare const _default: {
object: import("react").MemoExoticComponent>>;
array: import("react").ForwardRefExoticComponent>;
boolean: import("react").ForwardRefExoticComponent & import("react").RefAttributes>;
number: import("react").ForwardRefExoticComponent & import("react").RefAttributes>;
text: import("react").ForwardRefExoticComponent & import("react").RefAttributes>;
email: import("react").ForwardRefExoticComponent & import("react").RefAttributes>;
datetime: import("react").ForwardRefExoticComponent void;
type: {
name: string;
title: string;
description?: string;
options?: {
dateFormat?: string;
timeFormat?: string;
timeStep?: number;
calendarTodayLabel?: string;
};
placeholder?: string;
};
} & import("react").RefAttributes>;
date: import("react").ForwardRefExoticComponent void;
type: {
name: string;
title: string;
description?: string;
options?: {
dateFormat?: string;
calendarTodayLabel?: string;
};
placeholder?: string;
};
} & import("react").RefAttributes>;
url: import("react").ForwardRefExoticComponent & import("react").RefAttributes>;
image: import("react").ForwardRefExoticComponent<{
type: import("@sanity/types/src").ImageSchemaType;
onFocus: (path: import("@sanity/types/src").Path) => void;
onBlur: () => void;
onChange: (event: import("../../PatchEvent").default) => void;
readOnly: boolean;
value?: import("../../inputs/files/ImageInput").Image;
presence: import("@sanity/base/presence").FormFieldPresence[];
focusPath: import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
compareValue?: import("../../inputs/files/ImageInput").Image;
level: number;
getValuePath: () => import("@sanity/types/src").Path;
directUploads?: boolean;
observeAsset: (documentId: string) => import("rxjs").Observable;
imageUrlBuilder: import("@sanity/image-url/lib/types/builder").ImageUrlBuilder;
} & import("react").RefAttributes>;
file: import("react").ForwardRefExoticComponent<{
type: import("@sanity/types/src").FileSchemaType;
onFocus: (path: import("@sanity/types/src").Path) => void;
onBlur: () => void;
onChange: (event: import("../../PatchEvent").default) => void;
readOnly: boolean;
value?: import("../../inputs/files/FileInput").File;
presence: import("@sanity/base/presence").FormFieldPresence[];
focusPath: import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
compareValue?: import("../../inputs/files/FileInput").File;
level: number;
resolveUploader: import("../uploads/types").UploaderResolver;
getValuePath: () => import("@sanity/types/src").Path;
directUploads?: boolean;
observeAsset: (documentId: string) => import("rxjs").Observable;
} & import("react").RefAttributes>;
string: import("react").ForwardRefExoticComponent & import("react").RefAttributes>;
slug: {
new (props: Omit void;
onFocus: (pathOrEvent?: import("@sanity/types/src").Path | import("react").FocusEvent) => void;
getValuePath: () => import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
presence: any;
} & import("react").RefAttributes, "document">, "getValuePath"> | Readonly void;
onFocus: (pathOrEvent?: import("@sanity/types/src").Path | import("react").FocusEvent) => void;
getValuePath: () => import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
presence: any;
} & import("react").RefAttributes, "document">, "getValuePath">>): {
_input: any;
_didShowFocusWarning: boolean;
focus(): void;
setRef: (input: any) => void;
render(): import("react").JSX.Element;
context: any;
setState(state: {} | ((prevState: Readonly<{}>, props: Readonly void;
onFocus: (pathOrEvent?: import("@sanity/types/src").Path | import("react").FocusEvent) => void;
getValuePath: () => import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
presence: any;
} & import("react").RefAttributes, "document">, "getValuePath">>) => {} | Pick<{}, K>) | Pick<{}, K>, callback?: () => void): void;
forceUpdate(callback?: () => void): void;
readonly props: Readonly void;
onFocus: (pathOrEvent?: import("@sanity/types/src").Path | import("react").FocusEvent) => void;
getValuePath: () => import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
presence: any;
} & import("react").RefAttributes, "document">, "getValuePath">> & Readonly<{
children?: import("react").ReactNode;
}>;
state: Readonly<{}>;
refs: {
[key: string]: import("react").ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly void;
onFocus: (pathOrEvent?: import("@sanity/types/src").Path | import("react").FocusEvent) => void;
getValuePath: () => import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
presence: any;
} & import("react").RefAttributes, "document">, "getValuePath">>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly void;
onFocus: (pathOrEvent?: import("@sanity/types/src").Path | import("react").FocusEvent) => void;
getValuePath: () => import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
presence: any;
} & import("react").RefAttributes, "document">, "getValuePath">>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly void;
onFocus: (pathOrEvent?: import("@sanity/types/src").Path | import("react").FocusEvent) => void;
getValuePath: () => import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
presence: any;
} & import("react").RefAttributes, "document">, "getValuePath">>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly void;
onFocus: (pathOrEvent?: import("@sanity/types/src").Path | import("react").FocusEvent) => void;
getValuePath: () => import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
presence: any;
} & import("react").RefAttributes, "document">, "getValuePath">>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly void;
onFocus: (pathOrEvent?: import("@sanity/types/src").Path | import("react").FocusEvent) => void;
getValuePath: () => import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
presence: any;
} & import("react").RefAttributes, "document">, "getValuePath">>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly void;
onFocus: (pathOrEvent?: import("@sanity/types/src").Path | import("react").FocusEvent) => void;
getValuePath: () => import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
presence: any;
} & import("react").RefAttributes, "document">, "getValuePath">>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly void;
onFocus: (pathOrEvent?: import("@sanity/types/src").Path | import("react").FocusEvent) => void;
getValuePath: () => import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
presence: any;
} & import("react").RefAttributes, "document">, "getValuePath">>, nextState: Readonly<{}>, nextContext: any): void;
};
new (props: Omit void;
onFocus: (pathOrEvent?: import("@sanity/types/src").Path | import("react").FocusEvent) => void;
getValuePath: () => import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
presence: any;
} & import("react").RefAttributes, "document">, "getValuePath">, context: any): {
_input: any;
_didShowFocusWarning: boolean;
focus(): void;
setRef: (input: any) => void;
render(): import("react").JSX.Element;
context: any;
setState(state: {} | ((prevState: Readonly<{}>, props: Readonly void;
onFocus: (pathOrEvent?: import("@sanity/types/src").Path | import("react").FocusEvent) => void;
getValuePath: () => import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
presence: any;
} & import("react").RefAttributes, "document">, "getValuePath">>) => {} | Pick<{}, K>) | Pick<{}, K>, callback?: () => void): void;
forceUpdate(callback?: () => void): void;
readonly props: Readonly void;
onFocus: (pathOrEvent?: import("@sanity/types/src").Path | import("react").FocusEvent) => void;
getValuePath: () => import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
presence: any;
} & import("react").RefAttributes, "document">, "getValuePath">> & Readonly<{
children?: import("react").ReactNode;
}>;
state: Readonly<{}>;
refs: {
[key: string]: import("react").ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly void;
onFocus: (pathOrEvent?: import("@sanity/types/src").Path | import("react").FocusEvent) => void;
getValuePath: () => import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
presence: any;
} & import("react").RefAttributes, "document">, "getValuePath">>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly void;
onFocus: (pathOrEvent?: import("@sanity/types/src").Path | import("react").FocusEvent) => void;
getValuePath: () => import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
presence: any;
} & import("react").RefAttributes, "document">, "getValuePath">>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly void;
onFocus: (pathOrEvent?: import("@sanity/types/src").Path | import("react").FocusEvent) => void;
getValuePath: () => import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
presence: any;
} & import("react").RefAttributes, "document">, "getValuePath">>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly void;
onFocus: (pathOrEvent?: import("@sanity/types/src").Path | import("react").FocusEvent) => void;
getValuePath: () => import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
presence: any;
} & import("react").RefAttributes, "document">, "getValuePath">>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly void;
onFocus: (pathOrEvent?: import("@sanity/types/src").Path | import("react").FocusEvent) => void;
getValuePath: () => import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
presence: any;
} & import("react").RefAttributes, "document">, "getValuePath">>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly void;
onFocus: (pathOrEvent?: import("@sanity/types/src").Path | import("react").FocusEvent) => void;
getValuePath: () => import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
presence: any;
} & import("react").RefAttributes, "document">, "getValuePath">>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly void;
onFocus: (pathOrEvent?: import("@sanity/types/src").Path | import("react").FocusEvent) => void;
getValuePath: () => import("@sanity/types/src").Path;
markers: import("@sanity/types/src").ValidationMarker[];
presence: any;
} & import("react").RefAttributes, "document">, "getValuePath">>, nextState: Readonly<{}>, nextContext: any): void;
};
displayName: string;
contextTypes: {
getValuePath: import("prop-types").Requireable;
};
contextType?: import("react").Context;
};
};
export default _default;
//# sourceMappingURL=defaultInputs.d.ts.map