import * as IShared from '../../../shared/interface'; import { GoogleFilePermission } from '../../../shared/entities/integration'; export type Entity = GoogleFilePermission; export declare const Route = "google_file_permission"; export declare const UpperName = "GoogleFilePermission"; export declare const LowerName: string; export type IFindRequest = Record; export interface ICreateRequest { file_id: string; email: string; } export interface ICreateRequestRepository extends ICreateRequest { permission_id: string; } export interface IController { create(data: ICreateRequest): Promise; findById(shared: IShared.IFindByIdRequest): Promise; find(): Promise; deleteOne(selector: IShared.IFindByIdRequest): Promise; } export interface IRepository { create(data: ICreateRequestRepository): Promise; findById(shared: IShared.IFindByIdRequest): Promise; find(): Promise; deleteOne(selector: IShared.IFindByIdRequest): Promise; }