import { BaseRepository, Person, TransactionRunner, User, UserRepository, type AuthProviderType, type OperationContext } from '@n8n/db'; import { DataSource, type DeepPartial } from '@n8n/typeorm'; export type ScimUserFilter = { attribute: 'userName'; value: string; } | { attribute: 'externalId'; value: string; providerTypes: AuthProviderType[]; }; export declare class ScimUserRepository extends BaseRepository { private readonly userRepository; constructor(dataSource: DataSource, transactionRunner: TransactionRunner, userRepository: UserRepository); findPage({ skip, take, filter }: { skip: number; take: number; filter?: ScimUserFilter; }, ctx: OperationContext): Promise<[Person[], number]>; createProvisioned(user: DeepPartial, identity: { providerId: string; providerType: AuthProviderType; } | undefined, ctx: OperationContext): Promise; }