import Template from 'cloudform-types/types/template'; /** * Partial list of supported properties for the Globals property * @since 0.7.0 */ export interface Globals { Function?: FunctionResource; } /** * Partial list of supported values the Function attribute of the Globals property * * @since 0.7.0 */ export interface FunctionResource { Handler?: string; CodeUri?: string | { Bucket: string; Key: string; Version: string; }; } export declare type ParsedSamTemplate = Template & { Globals: Globals; }; export declare function loadCloudFormationTemplate(templatePath: string): ParsedSamTemplate; export declare function parseCloudFormationTemplate(yaml: string): ParsedSamTemplate;