import Types from './types'; export default class PizzlyIntegration { private key; private integration; private options; private origin; constructor(integration: string, options: Types.IntegrationOptions, key: string, origin: string); auth: (authId: string) => PizzlyIntegration; setup: (setupId: string) => PizzlyIntegration; connect(options?: Types.ConnectOptions): Promise; get: (endpoint: string, parameters?: Types.RequestParameters | undefined) => Promise; head: (endpoint: string, parameters?: Types.RequestParameters | undefined) => Promise; post: (endpoint: string, parameters?: Types.RequestParameters | undefined) => Promise; put: (endpoint: string, parameters?: Types.RequestParameters | undefined) => Promise; delete: (endpoint: string, parameters?: Types.RequestParameters | undefined) => Promise; patch: (endpoint: string, parameters?: Types.RequestParameters | undefined) => Promise; request: (method: Types.RequestMethod, endpoint: string, parameters?: Types.RequestParameters) => Promise; private toURL; private cleanHeaders; }