/** * @license * Copyright Stbui All Rights Reserved. * https://github.com/stbui/prophet */ /// /** * * @example * * import { useEditController, EditContextProvider } from '@stbui/prophet-core'; * * const App = props => { * const controllerProps = useEditController(props); * return ( * *
*
* ); * }; */ export declare const EditContext: import("react").Context<{ basePath: null; resource: null; record: null; loaded: null; loading: null; redirect: null; save: null; saving: null; successMessage: null; version: null; }>; /** * * @example * * const { record, save saving } = useEditContext() */ export declare const useEditContext: () => { basePath: null; resource: null; record: null; loaded: null; loading: null; redirect: null; save: null; saving: null; successMessage: null; version: null; };