export interface TenantTicketingConfigurationDto {
    id: string;
    tenantId: string;
    provider: string;
    glpiBaseUrl: string | null;
    glpiClientId: string | null;
    hasGlpiClientSecret: boolean;
    glpiUsername: string | null;
    hasGlpiPassword: boolean;
    glpiEntityId: number | null;
    glpiRequestTypeId: number | null;
    syncEnabled: boolean;
    syncIntervalMinutes: number;
    lastSyncAt: string | null;
    lastSyncError: string | null;
    isConfigured: boolean;
    createdAt: string;
    updatedAt: string | null;
}
export interface SaveTicketingConfigurationRequest {
    provider: string;
    glpiBaseUrl?: string;
    glpiClientId?: string;
    glpiClientSecret?: string;
    glpiUsername?: string;
    glpiPassword?: string;
    glpiEntityId?: number;
    glpiRequestTypeId?: number;
    syncEnabled: boolean;
    syncIntervalMinutes: number;
}
export interface TicketingSyncResultDto {
    success: boolean;
    ticketsUpdated: number;
    ticketsFailed: number;
    errorMessage: string | null;
}
export declare const ticketingApi: {
    getConfiguration: (tenantId: string) => Promise<TenantTicketingConfigurationDto>;
    saveConfiguration: (tenantId: string, data: SaveTicketingConfigurationRequest) => Promise<TenantTicketingConfigurationDto>;
    testConnection: (tenantId: string, data: {
        glpiBaseUrl: string;
        glpiClientId: string;
        glpiClientSecret?: string;
        glpiUsername: string;
        glpiPassword?: string;
    }) => Promise<{
        success: boolean;
        errorMessage: string | null;
    }>;
    triggerSync: (tenantId: string) => Promise<TicketingSyncResultDto>;
};
//# sourceMappingURL=ticketingApi.d.ts.map