import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-workflow';
import { AirCredentials } from '../../../../credentials/AirApi.credentials';
export interface User {
    _id: string;
    email: string;
    username: string;
    organizationIds: string | 'ALL';
    strategy: string;
    profile: {
        name: string;
        surname: string;
        department: string;
    };
    tfaEnabled: boolean;
    createdAt: string;
    updatedAt: string;
}
export interface UserResponse {
    success: boolean;
    result: User;
    statusCode: number;
    errors: string[];
}
export interface UsersResponse {
    success: boolean;
    result: {
        entities: User[];
        filters: Array<{
            name: string;
            type: string;
            options: string[];
            filterUrl: string | null;
        }>;
        sortables: string[];
        totalEntityCount: number;
        currentPage: number;
        pageSize: number;
        previousPage: number;
        totalPageCount: number;
        nextPage: number;
    };
    statusCode: number;
    errors: string[];
}
export declare const api: {
    getUsers(context: IExecuteFunctions | ILoadOptionsFunctions, credentials: AirCredentials, organizationIds?: string | string[], additionalParams?: {
        pageNumber?: number;
        pageSize?: number;
        roles?: string;
        sortBy?: string;
        sortType?: string;
        searchTerm?: string;
    }): Promise<UsersResponse>;
    getUserById(context: IExecuteFunctions | ILoadOptionsFunctions, credentials: AirCredentials, id: string): Promise<UserResponse>;
};
