import { AppContext, DeleteOptionsInput, PubSubEngine } from '@memberjunction/server';
import { CreateMJFileInput, MJFileResolver as FileResolverBase, MJFile_, UpdateMJFileInput } from '../generated/generated.js';
export declare class CreateUploadURLInput {
    FileID: string;
}
export declare class CreateFilePayload {
    File: MJFile_;
    UploadUrl: string;
    NameExists: boolean;
}
export declare class FileExt extends MJFile_ {
    DownloadUrl: string;
}
export declare class FileResolver extends FileResolverBase {
    CreateFile(input: CreateMJFileInput, context: AppContext, pubSub: PubSubEngine): Promise<{
        File: Record<string, unknown>;
        UploadUrl: string;
        NameExists: boolean;
    }>;
    DownloadUrl(file: MJFile_, { userPayload }: AppContext): Promise<string>;
    UpdateFile(input: UpdateMJFileInput, context: AppContext, pubSub: PubSubEngine): Promise<any>;
    DeleteFile(ID: string, options: DeleteOptionsInput, context: AppContext, pubSub: PubSubEngine): Promise<any>;
}
//# sourceMappingURL=FileResolver.d.ts.map