import IdProvider from "../../constants/id-provider.js";
import User from "../../entities/user.js";
declare class IdentityProviderAttachInput {
    userId: string;
    provider: IdProvider;
    token: string;
    params: Record<string, any>;
}
declare class IdentityProviderAttachOutput {
    user: User;
}
/**
 * Attach new identity provider to existing user
 */
declare const attach: import("@lomray/microservice-helpers/services/endpoint").IReturnWithMeta<never, IdentityProviderAttachInput, Record<string, any>, {
    user: User;
}>;
export { IdentityProviderAttachInput, IdentityProviderAttachOutput, attach };
