import { Name, Reversible } from "../generalTypes.js"; import { MigrationOptions } from "../../migrationOptions.js"; import { WithAdminOption } from "./shared.js"; import { RevokeRolesOptions } from "./revokeRoles.js"; //#region src/operations/grants/grantRoles.d.ts type GrantRolesOptions = WithAdminOption; type GrantRolesFn = (rolesFrom: Name | Name[], rolesTo: Name | Name[], grantOptions?: GrantRolesOptions & RevokeRolesOptions) => string; type GrantRoles = Reversible; declare function grantRoles(mOptions: MigrationOptions): GrantRoles; //#endregion export { GrantRoles, GrantRolesFn, GrantRolesOptions, grantRoles };