import type { Db } from "@rudderhq/db";
import { assets } from "@rudderhq/db";
export declare function assetService(db: Db): {
    create: (orgId: string, data: Omit<typeof assets.$inferInsert, "orgId">) => Promise<{
        sha256: string;
        id: string;
        orgId: string;
        createdAt: Date;
        updatedAt: Date;
        provider: string;
        createdByAgentId: string | null;
        createdByUserId: string | null;
        contentType: string;
        objectKey: string;
        byteSize: number;
        originalFilename: string | null;
    }>;
    getById: (id: string) => Promise<{
        sha256: string;
        id: string;
        orgId: string;
        createdAt: Date;
        updatedAt: Date;
        provider: string;
        createdByAgentId: string | null;
        createdByUserId: string | null;
        contentType: string;
        objectKey: string;
        byteSize: number;
        originalFilename: string | null;
    }>;
};
//# sourceMappingURL=assets.d.ts.map