import { ApiResponse, Connection } from 'auth0'; import { GetConnections200ResponseOneOf } from 'auth0/dist/cjs/management/__generated/models'; type CreatePasswordChangeTicketParams = { email: string; resultUrl: string; connectionId: string; }; type GetConnectionsParams = { perPage?: number; page?: number; }; type GetAllConnectionsParams = GetConnectionsParams; type IsSamlConnectionParams = { email: string; }; type PasswordUrl = string; export type Auth0Config = { domain: string; clientId: string; clientSecret: string; }; export type OptionalAuth0Config = Partial; export interface IAuth0ManagementClient { createPasswordChangeTicket: (params: CreatePasswordChangeTicketParams) => Promise; getConnections: (params: GetConnectionsParams) => Promise>; getAllConnections: (params: GetConnectionsParams) => Promise; isSamlConnection: (params: IsSamlConnectionParams) => Promise; } export declare class Auth0ManagementClient implements IAuth0ManagementClient { private managementClient; constructor({ domain, clientId, clientSecret, }: { domain: Auth0Config['domain']; clientId: Auth0Config['clientId']; clientSecret: Auth0Config['clientSecret']; }); createPasswordChangeTicket: ({ email, resultUrl, connectionId }: CreatePasswordChangeTicketParams) => Promise; getConnections: ({ perPage, page }: GetConnectionsParams) => Promise>; getAllConnections: ({ perPage, page }: GetAllConnectionsParams) => Promise; isSamlConnection: ({ email }: IsSamlConnectionParams) => Promise; } export {};