import type { PermissionString } from '../../../pbac/domain/types/permission-registry';
import type { Workflow } from '../../../../kysely/types.ts';
export declare function isAuthorized(workflow: Pick<Workflow, "id" | "teamId" | "userId"> | null, currentUserId: number, permission?: PermissionString): Promise<boolean>;
//# sourceMappingURL=isAuthorized.d.ts.map