import PropTypes from 'prop-types'; declare namespace io.apibuilder.spec.v0.enums { type Method = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD' | 'CONNECT' | 'OPTIONS' | 'TRACE'; type ParameterLocation = 'Path' | 'Query' | 'Form' | 'Header'; type ResponseCodeOption = 'Default'; } declare namespace io.apibuilder.spec.v0.models { interface Annotation { readonly 'name': string; readonly 'description'?: string; readonly 'deprecation'?: io.apibuilder.spec.v0.models.Deprecation; } interface Apidoc { readonly 'version': string; } interface Application { readonly 'key': string; } interface Attribute { readonly 'name': string; readonly 'value': any/*object*/; readonly 'description'?: string; readonly 'deprecation'?: io.apibuilder.spec.v0.models.Deprecation; } interface Body { readonly 'type': string; readonly 'description'?: string; readonly 'deprecation'?: io.apibuilder.spec.v0.models.Deprecation; readonly 'attributes': io.apibuilder.spec.v0.models.Attribute[]; } interface Contact { readonly 'name'?: string; readonly 'url'?: string; readonly 'email'?: string; } interface Deprecation { readonly 'description'?: string; } interface Enum { readonly 'name': string; readonly 'plural': string; readonly 'description'?: string; readonly 'deprecation'?: io.apibuilder.spec.v0.models.Deprecation; readonly 'values': io.apibuilder.spec.v0.models.EnumValue[]; readonly 'attributes': io.apibuilder.spec.v0.models.Attribute[]; } interface EnumValue { readonly 'name': string; readonly 'description'?: string; readonly 'deprecation'?: io.apibuilder.spec.v0.models.Deprecation; readonly 'attributes': io.apibuilder.spec.v0.models.Attribute[]; readonly 'value'?: string; } interface Field { readonly 'name': string; readonly 'type': string; readonly 'description'?: string; readonly 'deprecation'?: io.apibuilder.spec.v0.models.Deprecation; readonly 'default'?: string; readonly 'required': boolean; readonly 'minimum'?: number; readonly 'maximum'?: number; readonly 'example'?: string; readonly 'attributes': io.apibuilder.spec.v0.models.Attribute[]; readonly 'annotations'?: string[]; } interface Header { readonly 'name': string; readonly 'type': string; readonly 'description'?: string; readonly 'deprecation'?: io.apibuilder.spec.v0.models.Deprecation; readonly 'required': boolean; readonly 'default'?: string; readonly 'attributes': io.apibuilder.spec.v0.models.Attribute[]; } interface Import { readonly 'uri': string; readonly 'namespace': string; readonly 'organization': io.apibuilder.spec.v0.models.Organization; readonly 'application': io.apibuilder.spec.v0.models.Application; readonly 'version': string; readonly 'enums': string[]; readonly 'interfaces'?: string[]; readonly 'unions': string[]; readonly 'models': string[]; readonly 'annotations'?: io.apibuilder.spec.v0.models.Annotation[]; } interface Info { readonly 'license'?: io.apibuilder.spec.v0.models.License; readonly 'contact'?: io.apibuilder.spec.v0.models.Contact; } interface Interface { readonly 'name': string; readonly 'plural': string; readonly 'description'?: string; readonly 'deprecation'?: io.apibuilder.spec.v0.models.Deprecation; readonly 'fields': io.apibuilder.spec.v0.models.Field[]; readonly 'attributes': io.apibuilder.spec.v0.models.Attribute[]; } interface License { readonly 'name': string; readonly 'url'?: string; } interface Model { readonly 'name': string; readonly 'plural': string; readonly 'description'?: string; readonly 'deprecation'?: io.apibuilder.spec.v0.models.Deprecation; readonly 'fields': io.apibuilder.spec.v0.models.Field[]; readonly 'attributes': io.apibuilder.spec.v0.models.Attribute[]; readonly 'interfaces'?: string[]; } interface Operation { readonly 'method': io.apibuilder.spec.v0.enums.Method; readonly 'path': string; readonly 'description'?: string; readonly 'deprecation'?: io.apibuilder.spec.v0.models.Deprecation; readonly 'body'?: io.apibuilder.spec.v0.models.Body; readonly 'parameters': io.apibuilder.spec.v0.models.Parameter[]; readonly 'responses': io.apibuilder.spec.v0.models.Response[]; readonly 'attributes': io.apibuilder.spec.v0.models.Attribute[]; } interface Organization { readonly 'key': string; } interface Parameter { readonly 'name': string; readonly 'type': string; readonly 'location': io.apibuilder.spec.v0.enums.ParameterLocation; readonly 'description'?: string; readonly 'deprecation'?: io.apibuilder.spec.v0.models.Deprecation; readonly 'required': boolean; readonly 'default'?: string; readonly 'minimum'?: number; readonly 'maximum'?: number; readonly 'example'?: string; readonly 'attributes'?: io.apibuilder.spec.v0.models.Attribute[]; } interface Resource { readonly 'type': string; readonly 'plural': string; readonly 'path'?: string; readonly 'description'?: string; readonly 'deprecation'?: io.apibuilder.spec.v0.models.Deprecation; readonly 'operations': io.apibuilder.spec.v0.models.Operation[]; readonly 'attributes': io.apibuilder.spec.v0.models.Attribute[]; } interface Response { readonly 'code': io.apibuilder.spec.v0.unions.ResponseCode; readonly 'type': string; readonly 'headers'?: io.apibuilder.spec.v0.models.Header[]; readonly 'description'?: string; readonly 'deprecation'?: io.apibuilder.spec.v0.models.Deprecation; readonly 'attributes'?: io.apibuilder.spec.v0.models.Attribute[]; } interface Service { readonly 'apidoc'?: io.apibuilder.spec.v0.models.Apidoc; readonly 'name': string; readonly 'organization': io.apibuilder.spec.v0.models.Organization; readonly 'application': io.apibuilder.spec.v0.models.Application; readonly 'namespace': string; readonly 'version': string; readonly 'base_url'?: string; readonly 'description'?: string; readonly 'info': io.apibuilder.spec.v0.models.Info; readonly 'headers': io.apibuilder.spec.v0.models.Header[]; readonly 'imports': io.apibuilder.spec.v0.models.Import[]; readonly 'enums': io.apibuilder.spec.v0.models.Enum[]; readonly 'interfaces'?: io.apibuilder.spec.v0.models.Interface[]; readonly 'unions': io.apibuilder.spec.v0.models.Union[]; readonly 'models': io.apibuilder.spec.v0.models.Model[]; readonly 'resources': io.apibuilder.spec.v0.models.Resource[]; readonly 'attributes': io.apibuilder.spec.v0.models.Attribute[]; readonly 'annotations'?: io.apibuilder.spec.v0.models.Annotation[]; } interface Union { readonly 'name': string; readonly 'plural': string; readonly 'discriminator'?: string; readonly 'description'?: string; readonly 'deprecation'?: io.apibuilder.spec.v0.models.Deprecation; readonly 'types': io.apibuilder.spec.v0.models.UnionType[]; readonly 'attributes': io.apibuilder.spec.v0.models.Attribute[]; readonly 'interfaces'?: string[]; } interface UnionType { readonly 'type': string; readonly 'description'?: string; readonly 'deprecation'?: io.apibuilder.spec.v0.models.Deprecation; readonly 'attributes': io.apibuilder.spec.v0.models.Attribute[]; readonly 'default'?: boolean; readonly 'discriminator_value'?: string; } } declare namespace io.apibuilder.spec.v0.unions { type ResponseCode = ({ discriminator: 'integer', value: number } | { discriminator: 'response_code_option', value: io.apibuilder.spec.v0.enums.ResponseCodeOption }); } export const method: PropTypes.Requireable; export const parameterLocation: PropTypes.Requireable; export const responseCodeOption: PropTypes.Requireable; export const annotation: PropTypes.Requireable; export const apidoc: PropTypes.Requireable; export const application: PropTypes.Requireable; export const attribute: PropTypes.Requireable; export const body: PropTypes.Requireable; export const contact: PropTypes.Requireable; export const deprecation: PropTypes.Requireable; export const UNSAFE_enum: PropTypes.Requireable; export const enumValue: PropTypes.Requireable; export const field: PropTypes.Requireable; export const header: PropTypes.Requireable; export const UNSAFE_import: PropTypes.Requireable; export const info: PropTypes.Requireable; export const UNSAFE_interface: PropTypes.Requireable; export const license: PropTypes.Requireable; export const model: PropTypes.Requireable; export const operation: PropTypes.Requireable; export const organization: PropTypes.Requireable; export const parameter: PropTypes.Requireable; export const resource: PropTypes.Requireable; export const response: PropTypes.Requireable; export const service: PropTypes.Requireable; export const union: PropTypes.Requireable; export const unionType: PropTypes.Requireable; export const responseCode: PropTypes.Requireable;