import type { Ref } from 'vue'; import type { StrapiAuthenticationData, StrapiAuthenticationResponse, StrapiAuthProvider, StrapiEmailConfirmationData, StrapiForgotPasswordData, StrapiRegistrationData, StrapiResetPasswordData, StrapiChangePasswordData, StrapiUser } from '../types/index.js'; export declare const useStrapiAuth: () => { setToken: (value: string | null) => void; setUser: (value: StrapiUser) => void; fetchUser: () => Promise>; login: (data: StrapiAuthenticationData) => Promise; logout: () => void; register: (data: StrapiRegistrationData) => Promise; forgotPassword: (data: StrapiForgotPasswordData) => Promise; resetPassword: (data: StrapiResetPasswordData) => Promise; changePassword: (data: StrapiChangePasswordData) => Promise; sendEmailConfirmation: (data: StrapiEmailConfirmationData) => Promise; getProviderAuthenticationUrl: (provider: StrapiAuthProvider) => string; authenticateProvider: (provider: StrapiAuthProvider, access_token: string) => Promise; };