/** * @public * A hook that will refresh the cookie when it is about to expire. * @param options - Options for configuring the refresh cookie endpoint */ export declare function useCookieAuthRefresh(options: { pluginId: string; path?: string; }): { status: 'loading'; } | { status: 'error'; error: Error; retry: () => void; } | { status: 'success'; data: { expiresAt: string; }; };