import { type z } from 'zod';
import type { paths } from '../../../../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi';
import { CreateUserParamsSchema } from '../../../schemas/operations';
declare const endpoint: "/v2/users";
export type CreateUserParams = z.infer<typeof CreateUserParamsSchema>;
export type CreateUserResponse = paths[typeof endpoint]['post']['responses']['200']['content']['application/json'];
export declare const CreateUser: new (client: import("../../../../../core").BaseClient) => import("../../../../../core").ApiOperation<{
    user: {
        id: string;
        isDeactivated: boolean;
        primaryParty?: string | undefined;
        metadata?: {
            resourceVersion: string;
            annotations: Record<string, string>;
        } | undefined;
    };
    rights?: {
        kind: {
            CanActAs: {
                party: string;
            };
        } | {
            CanReadAs: {
                party: string;
            };
        } | {
            CanReadAsAnyParty: Record<string, never>;
        } | {
            Empty: Record<string, never>;
        } | {
            IdentityProviderAdmin: Record<string, never>;
        } | {
            ParticipantAdmin: Record<string, never>;
        };
    }[] | undefined;
}, {
    user?: import("../../../../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi").components["schemas"]["User"];
}>;
export {};
//# sourceMappingURL=create-user.d.ts.map