import React, { PropsWithChildren } from 'react'; /** * The Context Provider that holds the state for the secrets. * @public */ export declare const SecretsContextProvider: (props: PropsWithChildren<{}>) => React.JSX.Element; /** * The return type from the useTemplateSecrets hook. * @public */ export interface ScaffolderUseTemplateSecrets { setSecrets: (input: Record) => void; secrets: Record; } /** * Hook to access the secrets context to be able to set secrets that are * passed to the Scaffolder backend. * @public */ export declare const useTemplateSecrets: () => ScaffolderUseTemplateSecrets;