/** * Official Type definitions for JSS edition bar * https://jspreadsheet.com/products/sheets * Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped */ declare function sheets(mixed: string | sheets.options, options?: sheets.options): void; declare namespace sheets { interface options { /** Google client identification. Example. 'xyz.apps.googleusercontent.com' */ clientId: string; /** Google API Key */ apiKey?: string; /** Google client secret */ clientSecret?: string; /** Google redirect URI. Example: 'http://localhost:8000/sheets' */ redirectUri?: string; /** Google error URI. Example: 'http://localhost:8000/sheets/error' */ errorUri?: string; /** When the file is loaded. */ onload?: (title: string, config: object) => void; } } export default sheets;