import type { ChangeEvent, Dispatch, RefObject, SetStateAction } from 'react'; interface useNewIssueProps { forwardedRef: RefObject; setUpdated: Dispatch>; storyId: string | null; } /** * Use new issue form. * * @param props The props. * @param props.forwardedRef The forwarded ref. * @param props.storyId The story ID. * @param props.setUpdated The set updated. * @returns The new issue form handler. */ export declare const useNewIssueForm: ({ forwardedRef, setUpdated, storyId }: useNewIssueProps) => { body: string; error: string | null; handleBody: (event: ChangeEvent) => void; handleNewIssue: () => Promise; handleTitle: (event: ChangeEvent) => void; title: string; }; export {};