export { IResource, ICreateResource, ICreateResourceMimeType, ICreateResourceEntityType, } from "./orval/api/orval-resources";
import { IHubRequestOptions } from "../../hub-types";
import { ICreateResource, SearchResourcesParams } from "./orval/api/orval-resources";
/**
 * options for making requests against the Resources API
 *
 * @export
 * @interface IResourcesRequestOptions
 * @extends IHubRequestOptions
 */
export interface IResourcesRequestOptions extends Omit<IHubRequestOptions, "httpMethod" | "isPortal">, Pick<RequestInit, "mode" | "cache" | "credentials"> {
    httpMethod?: "GET" | "POST" | "PATCH" | "DELETE";
    isPortal?: boolean;
    token?: string;
    data?: {
        [key: string]: any;
    };
}
export interface ICreateResourceParams extends IResourcesRequestOptions {
    data: ICreateResource;
}
export interface IGetResourceParams extends IResourcesRequestOptions {
    id: string;
}
export interface ISearchResourcesParams extends IResourcesRequestOptions {
    params: SearchResourcesParams;
}
export interface IDeleteResourceParams extends IResourcesRequestOptions {
    id: string;
}
