import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-workflow';
import { AirCredentials } from '../../../../credentials/AirApi.credentials';
export interface AuthCheckResponse {
    success: boolean;
    result: {
        authenticated: boolean;
        user?: {
            _id: string;
            username: string;
            email: string;
            role: string;
            organizationId: number;
            organizationName: string;
            permissions: string[];
            lastLoginAt?: string;
            createdAt?: string;
        };
        session?: {
            _id: string;
            expiresAt: string;
            issuedAt: string;
        };
    };
    statusCode: number;
    errors: string[];
}
export declare const api: {
    checkAuth(context: IExecuteFunctions | ILoadOptionsFunctions, credentials: AirCredentials): Promise<AuthCheckResponse>;
};
