/** * useUnregisterGlobalForm.ts * * Forma - 글로벌 폼 등록 해제 훅 | Hook to unregister global form * 등록된 글로벌 폼을 메모리에서 제거하는 유틸리티 * Utility to remove registered global form from memory * * @license MIT License * @copyright 2025 KIM YOUNG JIN (Kim Young Jin) * @author KIM YOUNG JIN (ehfuse@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ /** * 글로벌 폼 등록 해제 훅 | Hook to unregister global form * * 등록된 글로벌 폼을 메모리에서 제거합니다. * Remove registered global form from memory. * * @returns 폼 등록 해제 함수들 | Form unregistration functions * * @example * ```typescript * function MyComponent() { * const { unregisterForm, clearForms } = useUnregisterGlobalForm(); * * const handleCleanup = () => { * // 특정 폼 제거 * const success = unregisterForm('my-form-id'); * console.log(`Form unregistered: ${success}`); * }; * * const handleReset = () => { * // 모든 폼 제거 * clearForms(); * console.log('All forms cleared'); * }; * * return ( *
* * *
* ); * } * ``` */ export declare function useUnregisterGlobalForm(): { unregisterForm: (formId: string) => boolean; clearForms: () => void; }; //# sourceMappingURL=useUnregisterGlobalForm.d.ts.map