import type { FastifyReply } from "fastify";
export interface OwnedResource {
    userId: string | null;
}
export declare function assertOwnership<T extends OwnedResource>(reply: FastifyReply, resource: T | null | undefined, userId: string, errorMessage: string): resource is T;
//# sourceMappingURL=ownership.d.ts.map