import { DefineComponent } from 'vue'; import { Directive } from 'vue'; import { Plugin as Plugin_2 } from 'vue'; export declare interface Address { /** * Address first line, usually composed by street number and/or route */ street_address?: string; /** * Address second line, usually composed by apartment number and/or room */ extended_address?: string; /** * Address state, abbreviated according to ISO 3166-1 alpha-2 */ state?: string; /** * Address postal code */ postal_code?: string; /** * Address city */ city?: string; /** * Address country, abbreviated according to ISO 3166-1 alpha-2 */ country?: string; /** * Address latitude */ lat?: number; /** * Address longitude */ long?: number; /** * Google Place id */ place_id?: string; } export declare interface AddressOption { /** * Google Place id */ id: string; /** * Google Place Prediction description */ name: string; /** * Address object */ address?: Address; } declare const _default: Plugin_2; export default _default; declare interface DialogsPluginOptions { mountNodeClass?: string; mountNodeId?: string; } /** * Retrieve an item from localStorage, previously saved by `setPersistentItem`. * @param {string} name The storage key name, often a component name * @param {object} [options] - an optional options object * @param {boolean} [options.global] - does not add url to the key when true * @returns {any | undefined} */ declare function getPersistentItem(name: any, options?: { global?: boolean; }): any; export declare interface I18nPlugin { locale: string; t: (key: string, value: string) => string; } export declare interface LinkTokenResponse { link_token: string; expiration: string; request_id: string; } declare interface MenusPluginOptions { mountNodeClass?: string; mountNodeId?: string; } declare interface ModalsPluginOptions { mountNodeClass?: string; mountNodeId?: string; } export declare function overridePersistentStorage(s: any): void; export declare const persistentStorage: { get: typeof getPersistentItem; set: typeof setPersistentItem; remove: typeof removePersistentItem; }; /** * Remove an item from localStorage, previously saved by `setPersistentItem`. * @param {string} name The storage key name, often a component name * @param {object} [options] - an optional options object * @param {boolean} [options.global] - does not add url to the key when true */ declare function removePersistentItem(name: any, options?: { global?: boolean; }): void; /** * Persist an item to localStorage, unique to each url pathname unless [options.global] is set to true * * If global is set to false (the default): * name: 'foo' * data: { a: 'a' } * * localStorage key: 'll-foo-/c/the-leaf-shop/customers/' * localStorage value: { a: 'a' } * * If global is set to true: * name: 'bar' * data: { b: 'b' } * * localStorage key: 'll-bar' * localStorage value: { b: 'b' } * * @param {string} name - the storage key name, often a component name * @param {object} data - the data to persist * @param {object} [options] - an optional options object * @param {boolean} [options.global] - does not add url to the key when true */ declare function setPersistentItem(name: any, data: any, options?: { global?: boolean; }): void; export declare type SpacingDensities = `${SpacingDensity}`; /** * For controlling properties like "padding" and "margin" within and between components. */ export declare enum SpacingDensity { Compact = "compact", Comfortable = "comfortable" } export declare type StashColor = `${StashColors}`; /** * Complete list of Stash brand colors & their shades. */ export declare enum StashColors { Purple900 = "purple-900", Purple800 = "purple-800", Purple700 = "purple-700", Purple600 = "purple-600", Purple500 = "purple-500", Purple400 = "purple-400", Purple300 = "purple-300", Purple200 = "purple-200", Purple100 = "purple-100", Royal900 = "royal-900", Royal800 = "royal-800", Royal700 = "royal-700", Royal600 = "royal-600", Royal500 = "royal-500", Royal400 = "royal-400", Royal300 = "royal-300", Royal200 = "royal-200", Royal100 = "royal-100", Blue900 = "blue-900", Blue800 = "blue-800", Blue700 = "blue-700", Blue600 = "blue-600", Blue500 = "blue-500", Blue400 = "blue-400", Blue300 = "blue-300", Blue200 = "blue-200", Blue100 = "blue-100", Teal900 = "teal-900", Teal800 = "teal-800", Teal700 = "teal-700", Teal600 = "teal-600", Teal500 = "teal-500", Teal400 = "teal-400", Teal300 = "teal-300", Teal200 = "teal-200", Teal100 = "teal-100", Green900 = "green-900", Green800 = "green-800", Green700 = "green-700", Green600 = "green-600", Green500 = "green-500", Green400 = "green-400", Green300 = "green-300", Green200 = "green-200", Green100 = "green-100", Seafoam900 = "seafoam-900", Seafoam800 = "seafoam-800", Seafoam700 = "seafoam-700", Seafoam600 = "seafoam-600", Seafoam500 = "seafoam-500", Seafoam400 = "seafoam-400", Seafoam300 = "seafoam-300", Seafoam200 = "seafoam-200", Seafoam100 = "seafoam-100", Yellow900 = "yellow-900", Yellow800 = "yellow-800", Yellow700 = "yellow-700", Yellow600 = "yellow-600", Yellow500 = "yellow-500", Yellow400 = "yellow-400", Yellow300 = "yellow-300", Yellow200 = "yellow-200", Yellow100 = "yellow-100", Orange900 = "orange-900", Orange800 = "orange-800", Orange700 = "orange-700", Orange600 = "orange-600", Orange500 = "orange-500", Orange400 = "orange-400", Orange300 = "orange-300", Orange200 = "orange-200", Orange100 = "orange-100", Red900 = "red-900", Red800 = "red-800", Red700 = "red-700", Red600 = "red-600", Red500 = "red-500", Red400 = "red-400", Red300 = "red-300", Red200 = "red-200", Red100 = "red-100", Ice900 = "ice-900", Ice800 = "ice-800", Ice700 = "ice-700", Ice600 = "ice-600", Ice500 = "ice-500", Ice400 = "ice-400", Ice300 = "ice-300", Ice200 = "ice-200", Ice100 = "ice-100", White = "white", Black = "black" } export declare type StashCommonColor = `${StashCommonColors}`; /** * A limited list of stash brand colors, only including their 100, 500, and 700 shades. */ export declare enum StashCommonColors { Purple700 = "purple-700", Purple500 = "purple-500", Purple100 = "purple-100", Royal700 = "royal-700", Royal500 = "royal-500", Royal100 = "royal-100", Blue700 = "blue-700", Blue500 = "blue-500", Blue100 = "blue-100", Teal700 = "teal-700", Teal500 = "teal-500", Teal100 = "teal-100", Green700 = "green-700", Green500 = "green-500", Green100 = "green-100", Seafoam700 = "seafoam-700", Seafoam500 = "seafoam-500", Seafoam100 = "seafoam-100", Yellow700 = "yellow-700", Yellow500 = "yellow-500", Yellow100 = "yellow-100", Orange700 = "orange-700", Orange500 = "orange-500", Orange100 = "orange-100", Red700 = "red-700", Red500 = "red-500", Red100 = "red-100", Ice700 = "ice-700", Ice500 = "ice-500", Ice200 = "ice-200",// This is the one outlier, but it's used purposefully in a few places Ice100 = "ice-100", White = "white", Black = "black" } export declare enum StashImageProvider { Static = "static", Cloudinary = "cloudinary" } /** * Image */ export declare type StashImageProviders = `${StashImageProvider}`; export declare interface StashOptionImages { provider: StashImageProviders; } export declare interface StashPluginOptions { i18n?: I18nPlugin; storage?: { set: (name: string, data: T, options?: { [key: string]: unknown; }) => void; get: (name: string, options?: { [key: string]: unknown; }) => T; }; staticPath?: string; images?: StashOptionImages; googleMapsApiKey?: string; menus?: false | MenusPluginOptions; modals?: false | ModalsPluginOptions; toasts?: false | ToastsPluginOptions; dialogs?: false | DialogsPluginOptions; } export declare type StashPrimaryColor = `${StashPrimaryColors}`; /** * The names of the color groups. */ export declare type StashPrimaryColorGroup = 'blue' | 'green' | 'ice' | 'orange' | 'purple' | 'red' | 'royal' | 'seafoam' | 'teal' | 'yellow'; /** * A limited list of stash brand colors, only including their primary (500) shade. */ export declare enum StashPrimaryColors { Blue500 = "blue-500", Green500 = "green-500", Ice500 = "ice-500", Orange500 = "orange-500", Purple500 = "purple-500", Red500 = "red-500", Royal500 = "royal-500", Seafoam500 = "seafoam-500", Teal500 = "teal-500", Yellow500 = "yellow-500" } export declare interface StashProvideState { components?: Record; directives?: Record; i18n?: I18nPlugin; images: StashOptionImages; storage?: unknown; staticPath: string; googleMapsApiKey?: string; } export declare type StatusColor = `${StatusColors}`; export declare enum StatusColors { Error = "red-500", Warning = "orange-500", Info = "blue-500", Success = "green-500" } export declare type StatusIcon = `${StatusIcons}`; export declare enum StatusIcons { Error = "hazard", Warning = "circle-warning", Info = "circle-info", Success = "circle-check" } export declare enum StatusSeverities { Error = "error", Warning = "warning", Info = "info", Success = "success" } export declare type StatusSeverity = `${StatusSeverities}`; declare interface ToastsPluginOptions { mountNodeClass?: string; mountNodeId?: string; } /** * @see {@link https://github.com/LeafLink/dev-page/tree/main/docs/api/getting-started#list-response-attributes Unified API List Response} */ export declare interface UnifiedApiListResponse { count: number; next: string | null; previous: string | null; results: R[]; } /** * @see {@link https://github.com/LeafLink/dev-page/tree/main/docs/api/getting-started#parameters Unified API Pagination Params} */ export declare interface UnifiedApiPaginationParams { ordering?: string; page?: number; pageSize?: number; } export * from "plaid-link"; export { }