@typeform/api-client
Version:
JS SDK for Typeform API
21 lines (20 loc) • 537 B
TypeScript
import { Typeform } from './typeform-types';
export declare class Images {
private _http;
constructor(_http: Typeform.HTTPClient);
add(args: {
image?: string;
url?: string;
fileName: string;
}): Promise<Typeform.Image>;
delete(args: {
id: string;
}): Promise<null>;
get(args: {
id: string;
size?: string;
backgroundSize?: string;
choiceSize?: string;
}): Promise<Typeform.Image>;
list(): Promise<Typeform.Image[]>;
}