import type { PrismaClient } from "@prisma/client";
import { z } from "zod";
export declare const deliveryScopeInputSchema: z.ZodDiscriminatedUnion<"level", [z.ZodObject<{
    level: z.ZodLiteral<"provider">;
}, "strip", z.ZodTypeAny, {
    level: "provider";
}, {
    level: "provider";
}>, z.ZodObject<{
    level: z.ZodLiteral<"cohort">;
    trainingId: z.ZodString;
    cohortId: z.ZodString;
}, "strip", z.ZodTypeAny, {
    trainingId: string;
    cohortId: string;
    level: "cohort";
}, {
    trainingId: string;
    cohortId: string;
    level: "cohort";
}>, z.ZodObject<{
    level: z.ZodLiteral<"batch">;
    trainingId: z.ZodString;
    batchId: z.ZodString;
}, "strip", z.ZodTypeAny, {
    trainingId: string;
    batchId: string;
    level: "batch";
}, {
    trainingId: string;
    batchId: string;
    level: "batch";
}>]>;
export type DeliveryScopeInput = z.infer<typeof deliveryScopeInputSchema>;
export declare function validateDeliveryScopes(db: PrismaClient, projectId: bigint, trainingProviderId: bigint, scopes: DeliveryScopeInput[]): Promise<Array<{
    scopeLevel: string;
    trainingId: bigint | null;
    cohortId: bigint | null;
    batchId: bigint | null;
}>>;
export declare function parseStaffRole(raw: string): "tp_org_admin" | "tp_site_lead" | "tp_attendance_clerk" | "tp_outcomes_officer" | "tp_readonly";
export declare function ensureTpOrgAdminOrProjectAdmin(db: PrismaClient, projectId: bigint, userId: bigint, trainingProviderId: bigint): Promise<void>;
export declare function formatScopeSummary(db: PrismaClient, scopes: Array<{
    scopeLevel: string;
    trainingId: bigint | null;
    cohortId: bigint | null;
    batchId: bigint | null;
}>): Promise<string[]>;
//# sourceMappingURL=tpStaffService.d.ts.map