import type { Context, SchemaWithId, InsertPayload, Description } from '@aeriajs/types'; export declare const insert: >>(payload: NoInfer, context: Context) => Promise | import("@aeriajs/types").Result.Error<{ readonly code: "AUTHORIZATION_ERROR"; readonly message: "tried to set unallowed roles"; } & { httpStatus: 403; }> | import("@aeriajs/types").Result.Error<{ readonly code: "RESOURCE_NOT_FOUND"; } & { httpStatus: 404; }> | import("@aeriajs/types").Result.Error<{ readonly code: "AUTHORIZATION_ERROR"; readonly message: "tried to edit an user with a role higher in the hierarchy"; } & { httpStatus: 403; }> | import("@aeriajs/types").InsertReturnType>>;