import { ObjectDefinition } from 'sanity'
import { Plugin as Plugin_2 } from 'sanity'
import { PreviewConfig } from 'sanity'

export declare const timespan: {
  type: 'object'
  name: 'Timespan'
} & Omit<ObjectDefinition, 'preview'> & {
    preview?:
      | PreviewConfig<
          {
            timespanTitle: string
          },
          {
            timespanTitle: string
          }
        >
      | undefined
  }

export declare const timespanInput: Plugin_2<void>

export {}

declare module '@sanity/types' {
  interface IntrinsicDefinitions {
    timespan: TimespanDefinition
  }
}
