UNPKG

@userfrosting/sprinkle-account

Version:
22 lines (21 loc) 772 B
import { Severity, AlertInterface } from '@userfrosting/sprinkle-core/interfaces'; /** * API Composable */ export declare function useLogoutApi(): { submitLogout: () => Promise<void>; apiLoading: import('vue').Ref<boolean, boolean>; apiError: import('vue').Ref<{ title?: string | undefined; description?: string | undefined; style?: (Severity | keyof typeof Severity) | undefined; closeBtn?: boolean | undefined; hideIcon?: boolean | undefined; } | null, AlertInterface | { title?: string | undefined; description?: string | undefined; style?: (Severity | keyof typeof Severity) | undefined; closeBtn?: boolean | undefined; hideIcon?: boolean | undefined; } | null>; };